mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 01:54:09 +08:00
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>
This commit is contained in:
parent
e42bcd0f7e
commit
333740981f
@ -18,6 +18,7 @@
|
||||
|
||||
struct gpio_desc;
|
||||
struct mii_bus;
|
||||
struct reset_control;
|
||||
|
||||
/* Multiple levels of nesting are possible. However typically this is
|
||||
* limited to nested DSA like layer, a MUX layer, and the normal
|
||||
|
Loading…
Reference in New Issue
Block a user