netdev/phy: Prototype of_mdio_find_bus()
Subsystems (3)
PATCH 1/1 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 <[email protected]>
--- drivers/net/phy/mdio_bus.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/phy/mdio_bus.c +1 -0
@@ -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>
Signature · 1 line
1.7.10.4
From: Mark Brown <[email protected]>
Date: Tue, 9 Oct 2012 17:55:43 +0900
Quoted 4 lines
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 <[email protected]>
Applied.