summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/allwinner
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-06-03 03:36:52 +0000
committerDavid S. Miller <davem@davemloft.net>2013-06-04 17:19:57 -0700
commit93baf4c615584fa02c21aa78f305428fc7060656 (patch)
tree8c19dd9413a54f10d307fed5858ad7b31692292f /drivers/net/ethernet/allwinner
parentff20877ab3be42cf9c21a9b0173db690aa3165b0 (diff)
downloadlinux-93baf4c615584fa02c21aa78f305428fc7060656.tar.gz
linux-93baf4c615584fa02c21aa78f305428fc7060656.tar.bz2
linux-93baf4c615584fa02c21aa78f305428fc7060656.zip
net: sun4i-emac: fix a typo in emac_probe()
Just fixed a typo in emac_probe(). Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/allwinner')
-rw-r--r--drivers/net/ethernet/allwinner/sun4i-emac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/allwinner/sun4i-emac.c b/drivers/net/ethernet/allwinner/sun4i-emac.c
index b411344e719e..26083cdc25ab 100644
--- a/drivers/net/ethernet/allwinner/sun4i-emac.c
+++ b/drivers/net/ethernet/allwinner/sun4i-emac.c
@@ -821,7 +821,7 @@ static int emac_probe(struct platform_device *pdev)
db->membase = of_iomap(np, 0);
if (!db->membase) {
dev_err(&pdev->dev, "failed to remap registers\n");
- return -ENOMEM;
+ ret = -ENOMEM;
goto out;
}