Message ID | 1349772944-14289-1-git-send-email-broonie@opensource.wolfsonmicro.com |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Mark Brown <broonie@opensource.wolfsonmicro.com> Date: Tue, 9 Oct 2012 17:55:43 +0900 > Ensure that of_mdio_find_bus() matches the prototype in the header (and > stop sparse complaining) by including the header with the prototype. > > Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/net/phy/mdio_bus.c b/drivers/net/phy/mdio_bus.c index 170eb41..c1ef300 100644 --- a/drivers/net/phy/mdio_bus.c +++ b/drivers/net/phy/mdio_bus.c @@ -26,6 +26,7 @@ #include <linux/delay.h> #include <linux/device.h> #include <linux/of_device.h> +#include <linux/of_mdio.h> #include <linux/netdevice.h> #include <linux/etherdevice.h> #include <linux/skbuff.h>
Ensure that of_mdio_find_bus() matches the prototype in the header (and stop sparse complaining) by including the header with the prototype. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> --- drivers/net/phy/mdio_bus.c | 1 + 1 file changed, 1 insertion(+)