* [PATCH] netdev/phy: Prototype of_mdio_find_bus()
@ 2012-10-09 8:55 Mark Brown
2012-10-09 17:55 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2012-10-09 8:55 UTC (permalink / raw)
To: David S. Miller, David Daney; +Cc: netdev, Mark Brown
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(+)
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>
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] netdev/phy: Prototype of_mdio_find_bus()
2012-10-09 8:55 [PATCH] netdev/phy: Prototype of_mdio_find_bus() Mark Brown
@ 2012-10-09 17:55 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2012-10-09 17:55 UTC (permalink / raw)
To: broonie; +Cc: david.daney, netdev
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-09 17:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-09 8:55 [PATCH] netdev/phy: Prototype of_mdio_find_bus() Mark Brown
2012-10-09 17:55 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.