diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-06-03 03:36:52 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-04 17:19:57 -0700 |
commit | 93baf4c615584fa02c21aa78f305428fc7060656 (patch) | |
tree | 8c19dd9413a54f10d307fed5858ad7b31692292f /drivers/net/ethernet/allwinner/sun4i-emac.c | |
parent | ff20877ab3be42cf9c21a9b0173db690aa3165b0 (diff) | |
download | op-kernel-dev-93baf4c615584fa02c21aa78f305428fc7060656.zip op-kernel-dev-93baf4c615584fa02c21aa78f305428fc7060656.tar.gz |
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/sun4i-emac.c')
-rw-r--r-- | drivers/net/ethernet/allwinner/sun4i-emac.c | 2 |
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 b411344..26083cd 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; } |