[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPgLHd-fXnt9H_CxDD1Ww=C-6nn3COVkYirKY6ucOJVR2Pkwkw@mail.gmail.com>
Date: Mon, 3 Jun 2013 21:36:52 +0800
From: Wei Yongjun <weiyj.lk@...il.com>
To: grant.likely@...aro.org, rob.herring@...xeda.com,
maxime.ripard@...e-electrons.com, davem@...emloft.net, sr@...x.de
Cc: yongjun_wei@...ndmicro.com.cn, netdev@...r.kernel.org,
devicetree-discuss@...ts.ozlabs.org
Subject: [PATCH -next] net: sun4i-emac: fix a typo in emac_probe()
From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
Just fixed a typo in emac_probe().
Signed-off-by: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
---
drivers/net/ethernet/allwinner/sun4i-emac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
}
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists