aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/davinci_emac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/davinci_emac.c')
-rw-r--r--drivers/net/davinci_emac.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c
index 33c4fe26178c..faffad409985 100644
--- a/drivers/net/davinci_emac.c
+++ b/drivers/net/davinci_emac.c
@@ -2672,8 +2672,7 @@ static int __devinit davinci_emac_probe(struct platform_device *pdev)
2672 priv->emac_base_phys = res->start + pdata->ctrl_reg_offset; 2672 priv->emac_base_phys = res->start + pdata->ctrl_reg_offset;
2673 size = res->end - res->start + 1; 2673 size = res->end - res->start + 1;
2674 if (!request_mem_region(res->start, size, ndev->name)) { 2674 if (!request_mem_region(res->start, size, ndev->name)) {
2675 dev_err(emac_dev, "DaVinci EMAC: failed request_mem_region() \ 2675 dev_err(emac_dev, "DaVinci EMAC: failed request_mem_region() for regs\n");
2676 for regs\n");
2677 rc = -ENXIO; 2676 rc = -ENXIO;
2678 goto probe_quit; 2677 goto probe_quit;
2679 } 2678 }