Commit 33374098 authored by Bartosz Golaszewski's avatar Bartosz Golaszewski Committed by David S. Miller

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: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e42bcd0f
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
struct gpio_desc; struct gpio_desc;
struct mii_bus; struct mii_bus;
struct reset_control;
/* Multiple levels of nesting are possible. However typically this is /* Multiple levels of nesting are possible. However typically this is
* limited to nested DSA like layer, a MUX layer, and the normal * limited to nested DSA like layer, a MUX layer, and the normal
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment