Skip to contentSkip to conversation

netdev/phy: Prototype of_mdio_find_bus()

PATCH Applied Mark Brown 2 participants 2 messages Oct 9, 2012

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 netdev/phy: Prototype of_mdio_find_bus()

Ensure that of_mdio_find_bus() matches the prototype in the header (and stop sparse complaining) by including the header with the prototype.

---
 drivers/net/phy/mdio_bus.c |    1 +
 1 file changed, 1 insertion(+)
drivers/net/phy/mdio_bus.c +1 -0
index 170eb41..c1ef300 100644
@@ -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>
Signature · 1 line
1.7.10.4