projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff20877
)
net: sun4i-emac: fix a typo in emac_probe()
author
Wei Yongjun
<
[email protected]
>
Mon, 3 Jun 2013 03:36:52 +0000
(
03:36
+0000)
committer
David S. Miller
<
[email protected]
>
Wed, 5 Jun 2013 00:19:57 +0000
(17:19 -0700)
Just fixed a typo in emac_probe().
Signed-off-by: Wei Yongjun <
[email protected]
>
Acked-by: Maxime Ripard <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/allwinner/sun4i-emac.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/allwinner/sun4i-emac.c
b/drivers/net/ethernet/allwinner/sun4i-emac.c
index b411344e719e6fceab60c78851c42e964dcb5a3f..26083cdc25ab3fd2e6a13c9fc75ee864f1095cc8 100644
(file)
--- 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");
- ret
urn
-ENOMEM;
+ ret
=
-ENOMEM;
goto out;
}