From: Bartosz Golaszewski Date: Fri, 26 Jun 2020 15:53:23 +0000 (+0200) Subject: net: mdio: add a forward declaration for reset_control to mdio.h X-Git-Tag: Ubuntu-5.10.0-12.13~2208^2~409^2~2 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=333740981f94fa80326cc8e5d2da105f17bc1dd5;p=mirror_ubuntu-hirsute-kernel.git 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 Reviewed-by: Andrew Lunn Reviewed-by: Florian Fainelli Signed-off-by: David S. Miller --- diff --git a/include/linux/mdio.h b/include/linux/mdio.h index 36d2e0673d03..898cbf00332a 100644 --- a/include/linux/mdio.h +++ b/include/linux/mdio.h @@ -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