diff mbox

netdev/phy: Prototype of_mdio_find_bus()

Message ID 1349772944-14289-1-git-send-email-broonie@opensource.wolfsonmicro.com
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Mark Brown Oct. 9, 2012, 8:55 a.m. UTC
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>
---
 drivers/net/phy/mdio_bus.c |    1 +
 1 file changed, 1 insertion(+)

Comments

David Miller Oct. 9, 2012, 5:55 p.m. UTC | #1
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
Date: Tue,  9 Oct 2012 17:55:43 +0900

> 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>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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>