summaryrefslogtreecommitdiffstats
path: root/drivers/net/greth.c
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2010-08-08 08:23:26 +0200
committerGrant Likely <grant.likely@secretlab.ca>2010-08-08 09:20:06 +0200
commit19e4875fb21a69fbf620e84769a74d189c69c58d (patch)
treec9a80978f68b5f60bd6ec2bfb44fbbab27d43c71 /drivers/net/greth.c
parentof/device: Replace struct of_device with struct platform_device (diff)
downloadlinux-19e4875fb21a69fbf620e84769a74d189c69c58d.tar.xz
linux-19e4875fb21a69fbf620e84769a74d189c69c58d.zip
of/sparc: fix build regression from of_device changes
Commit id 1636f8ac2b08410df4766449f7c86b912443cd99 (sparc/of: Move of_device fields into struct pdev_archdata) missed fixing up the n2_core.c and greth.c drivers. This patch makes the required changes. Reported-by: David S. Miller <davem@davemloft.net> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/net/greth.c')
-rw-r--r--drivers/net/greth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/greth.c b/drivers/net/greth.c
index 9ec4b7f28ca4..f15c64f1cd38 100644
--- a/drivers/net/greth.c
+++ b/drivers/net/greth.c
@@ -1412,7 +1412,7 @@ static int __devinit greth_of_probe(struct platform_device *ofdev, const struct
}
regs = (struct greth_regs *) greth->regs;
- greth->irq = ofdev->irqs[0];
+ greth->irq = ofdev->archdata.irqs[0];
dev_set_drvdata(greth->dev, dev);
SET_NETDEV_DEV(dev, greth->dev);