diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-06-03 05:36:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-05 02:19:57 +0200 |
commit | 93baf4c615584fa02c21aa78f305428fc7060656 (patch) | |
tree | 8c19dd9413a54f10d307fed5858ad7b31692292f /drivers/net/ethernet/allwinner | |
parent | net: mv643xx_eth: add missing semicolon (diff) | |
download | linux-93baf4c615584fa02c21aa78f305428fc7060656.tar.xz 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.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; } |