aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/freescale/fs_enet
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2013-11-07 11:34:46 -0500
committerRob Herring <rob.herring@calxeda.com>2013-11-07 11:34:46 -0500
commitb5480950c6cbb7b07ab1c1a5af0dc661a1cb6f24 (patch)
treeb5fcb00387a838beb2bcf2f8ed2fd3d6d460c8ae /drivers/net/ethernet/freescale/fs_enet
parente363bbac316ffb5daaf45d855f82680148cafe20 (diff)
parent355e62f5ad12b005c862838156262eb2df2f8dff (diff)
Merge remote-tracking branch 'grant/devicetree/next' into for-next
Diffstat (limited to 'drivers/net/ethernet/freescale/fs_enet')
-rw-r--r--drivers/net/ethernet/freescale/fs_enet/mac-fcc.c2
-rw-r--r--drivers/net/ethernet/freescale/fs_enet/mac-fec.c2
-rw-r--r--drivers/net/ethernet/freescale/fs_enet/mac-scc.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/freescale/fs_enet/mac-fcc.c b/drivers/net/ethernet/freescale/fs_enet/mac-fcc.c
index 005c2e06b8c0..f8b92864fc52 100644
--- a/drivers/net/ethernet/freescale/fs_enet/mac-fcc.c
+++ b/drivers/net/ethernet/freescale/fs_enet/mac-fcc.c
@@ -90,7 +90,7 @@ static int do_pd_setup(struct fs_enet_private *fep)
90 struct fs_platform_info *fpi = fep->fpi; 90 struct fs_platform_info *fpi = fep->fpi;
91 int ret = -EINVAL; 91 int ret = -EINVAL;
92 92
93 fep->interrupt = of_irq_to_resource(ofdev->dev.of_node, 0, NULL); 93 fep->interrupt = irq_of_parse_and_map(ofdev->dev.of_node, 0);
94 if (fep->interrupt == NO_IRQ) 94 if (fep->interrupt == NO_IRQ)
95 goto out; 95 goto out;
96 96
diff --git a/drivers/net/ethernet/freescale/fs_enet/mac-fec.c b/drivers/net/ethernet/freescale/fs_enet/mac-fec.c
index 8aac2316d0f3..a9a00f39521a 100644
--- a/drivers/net/ethernet/freescale/fs_enet/mac-fec.c
+++ b/drivers/net/ethernet/freescale/fs_enet/mac-fec.c
@@ -100,7 +100,7 @@ static int do_pd_setup(struct fs_enet_private *fep)
100{ 100{
101 struct platform_device *ofdev = to_platform_device(fep->dev); 101 struct platform_device *ofdev = to_platform_device(fep->dev);
102 102
103 fep->interrupt = of_irq_to_resource(ofdev->dev.of_node, 0, NULL); 103 fep->interrupt = irq_of_parse_and_map(ofdev->dev.of_node, 0);
104 if (fep->interrupt == NO_IRQ) 104 if (fep->interrupt == NO_IRQ)
105 return -EINVAL; 105 return -EINVAL;
106 106
diff --git a/drivers/net/ethernet/freescale/fs_enet/mac-scc.c b/drivers/net/ethernet/freescale/fs_enet/mac-scc.c
index e151784c5ebd..d37cd4ebac65 100644
--- a/drivers/net/ethernet/freescale/fs_enet/mac-scc.c
+++ b/drivers/net/ethernet/freescale/fs_enet/mac-scc.c
@@ -100,7 +100,7 @@ static int do_pd_setup(struct fs_enet_private *fep)
100{ 100{
101 struct platform_device *ofdev = to_platform_device(fep->dev); 101 struct platform_device *ofdev = to_platform_device(fep->dev);
102 102
103 fep->interrupt = of_irq_to_resource(ofdev->dev.of_node, 0, NULL); 103 fep->interrupt = irq_of_parse_and_map(ofdev->dev.of_node, 0);
104 if (fep->interrupt == NO_IRQ) 104 if (fep->interrupt == NO_IRQ)
105 return -EINVAL; 105 return -EINVAL;
106 106