diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-06-03 07:36:52 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-05 04:19:57 +0400 |
commit | 93baf4c615584fa02c21aa78f305428fc7060656 (patch) | |
tree | 8c19dd9413a54f10d307fed5858ad7b31692292f | |
parent | ff20877ab3be42cf9c21a9b0173db690aa3165b0 (diff) | |
download | linux-93baf4c615584fa02c21aa78f305428fc7060656.tar.xz |
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>
-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 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; } |