projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a705dc7
)
MIPS: Alchemy: Fix typo in MAC0 registration
author
Manuel Lauss
<manuel.lauss@googlemail.com>
Tue, 2 Aug 2011 13:50:56 +0000
(15:50 +0200)
committer
Ralf Baechle
<ralf@linux-mips.org>
Wed, 21 Sep 2011 15:52:52 +0000
(17:52 +0200)
Harmless typo which prints an error message although MAC0 was registered
successfully.
Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2672/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/alchemy/common/platform.c
patch
|
blob
|
history
diff --git
a/arch/mips/alchemy/common/platform.c
b/arch/mips/alchemy/common/platform.c
index 3b2c18b14341c22c10af18699bc36b844466ea9a..f72c48d4804c30989e78324639ec516f6d1aea75 100644
(file)
--- a/
arch/mips/alchemy/common/platform.c
+++ b/
arch/mips/alchemy/common/platform.c
@@
-492,7
+492,7
@@
static void __init alchemy_setup_macs(int ctype)
memcpy(au1xxx_eth0_platform_data.mac, ethaddr, 6);
ret = platform_device_register(&au1xxx_eth0_device);
- if (
!
ret)
+ if (ret)
printk(KERN_INFO "Alchemy: failed to register MAC0\n");