]> git.baikalelectronics.ru Git - kernel.git/commit
net: mdio: add a forward declaration for reset_control to mdio.h
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Fri, 26 Jun 2020 15:53:23 +0000 (17:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Jun 2020 20:40:09 +0000 (13:40 -0700)
commit449add521c860548973f98f1c816257b7d46d993
tree1fad3f5658a9b44b1757f06ea9c48d577c7ef7f7
parent0966dfce9fcd1fcd2b86163c4611e6d013b5e7c2
net: mdio: add a forward declaration for reset_control to mdio.h

This header refers to struct reset_control but doesn't include any reset
header. The structure definition is probably somehow indirectly pulled in
since no warnings are reported but for the sake of correctness add the
forward declaration for struct reset_control.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/mdio.h