Browse Source

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.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Mark Brown 12 years ago
parent
commit
4085a7f0a0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/net/phy/mdio_bus.c

+ 1 - 0
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>