* [PATCH] of/net: fs_enet/mii-bitbang.c: fix build breakage
@ 2010-06-03 1:06 Anatolij Gustschin
2010-06-03 2:13 ` Grant Likely
0 siblings, 1 reply; 2+ messages in thread
From: Anatolij Gustschin @ 2010-06-03 1:06 UTC (permalink / raw)
To: netdev-u79uwXL29TY76Z2rM5mHXA, Grant Likely
Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ, David S. Miller
Fixes build error caused by the OF device_node
pointer being moved into struct device
Signed-off-by: Anatolij Gustschin <agust-ynQEQJNshbs@public.gmane.org>
---
drivers/net/fs_enet/mii-bitbang.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/fs_enet/mii-bitbang.c b/drivers/net/fs_enet/mii-bitbang.c
index 0f90685..3607340 100644
--- a/drivers/net/fs_enet/mii-bitbang.c
+++ b/drivers/net/fs_enet/mii-bitbang.c
@@ -169,7 +169,7 @@ static int __devinit fs_enet_mdio_probe(struct of_device *ofdev,
new_bus->name = "CPM2 Bitbanged MII",
- ret = fs_mii_bitbang_init(new_bus, ofdev->node);
+ ret = fs_mii_bitbang_init(new_bus, ofdev->dev.of_node);
if (ret)
goto out_free_bus;
@@ -181,7 +181,7 @@ static int __devinit fs_enet_mdio_probe(struct of_device *ofdev,
new_bus->parent = &ofdev->dev;
dev_set_drvdata(&ofdev->dev, new_bus);
- ret = of_mdiobus_register(new_bus, ofdev->node);
+ ret = of_mdiobus_register(new_bus, ofdev->dev.of_node);
if (ret)
goto out_free_irqs;
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] of/net: fs_enet/mii-bitbang.c: fix build breakage
2010-06-03 1:06 [PATCH] of/net: fs_enet/mii-bitbang.c: fix build breakage Anatolij Gustschin
@ 2010-06-03 2:13 ` Grant Likely
0 siblings, 0 replies; 2+ messages in thread
From: Grant Likely @ 2010-06-03 2:13 UTC (permalink / raw)
To: Anatolij Gustschin; +Cc: netdev, devicetree-discuss, David S. Miller
On Thu, Jun 03, 2010 at 03:06:54AM +0200, Anatolij Gustschin wrote:
> Fixes build error caused by the OF device_node
> pointer being moved into struct device
>
> Signed-off-by: Anatolij Gustschin <agust@denx.de>
> ---
> drivers/net/fs_enet/mii-bitbang.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
applied
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-06-03 2:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-03 1:06 [PATCH] of/net: fs_enet/mii-bitbang.c: fix build breakage Anatolij Gustschin
2010-06-03 2:13 ` Grant Likely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).