summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-10-09 00:55:43 +0200
committerDavid S. Miller <davem@davemloft.net>2012-10-09 19:54:59 +0200
commit4085a7f0a09c73ef3e9de113c9f04d78c79be645 (patch)
treeb2e18709ac8e64fdaa184d67760cfacb792c4659 /drivers/net/phy
parentfarsync: fix support for over 30 cards (diff)
downloadlinux-4085a7f0a09c73ef3e9de113c9f04d78c79be645.tar.xz
linux-4085a7f0a09c73ef3e9de113c9f04d78c79be645.zip
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>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r--drivers/net/phy/mdio_bus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/mdio_bus.c b/drivers/net/phy/mdio_bus.c
index 170eb411ab5d..c1ef3000ea60 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>