diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-10-09 02:55:43 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-10-09 21:54:59 +0400 |
commit | 4085a7f0a09c73ef3e9de113c9f04d78c79be645 (patch) | |
tree | b2e18709ac8e64fdaa184d67760cfacb792c4659 /drivers/net | |
parent | 50fb47ae4d812d5eabc57539701dc0fd6404495e (diff) | |
download | linux-4085a7f0a09c73ef3e9de113c9f04d78c79be645.tar.xz |
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')
-rw-r--r-- | drivers/net/phy/mdio_bus.c | 1 |
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> |