diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-10-08 22:55:43 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-10-09 13:54:59 -0400 |
commit | 4085a7f0a09c73ef3e9de113c9f04d78c79be645 (patch) | |
tree | b2e18709ac8e64fdaa184d67760cfacb792c4659 | |
parent | 50fb47ae4d812d5eabc57539701dc0fd6404495e (diff) | |
download | op-kernel-dev-4085a7f0a09c73ef3e9de113c9f04d78c79be645.zip op-kernel-dev-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.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 170eb41..c1ef300 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> |