1
0
Fork 0

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>
hifive-unleashed-5.1
Wei Yongjun 2013-06-03 03:36:52 +00:00 committed by David S. Miller
parent ff20877ab3
commit 93baf4c615
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}