aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-10-08 22:55:43 +0000
committerDavid S. Miller <davem@davemloft.net>2012-10-09 13:54:59 -0400
commit4085a7f0a09c73ef3e9de113c9f04d78c79be645 (patch)
treeb2e18709ac8e64fdaa184d67760cfacb792c4659
parent50fb47ae4d812d5eabc57539701dc0fd6404495e (diff)
downloadkgdb-4085a7f0a09c73ef3e9de113c9f04d78c79be645.tar.gz
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>
-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 170eb411ab5d9..c1ef3000ea606 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>