netdev/phy: Prototype of_mdio_find_bus()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 8 Oct 2012 22:55:43 +0000 (22:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Oct 2012 17:54:59 +0000 (13:54 -0400)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio_bus.c

index 170eb41..c1ef300 100644 (file)
@@ -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>