From: Manuel Lauss Date: Tue, 2 Aug 2011 13:50:56 +0000 (+0200) Subject: MIPS: Alchemy: Fix typo in MAC0 registration X-Git-Tag: next-20110919~90^2~12 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c495564b61255c84acc9e689829da843a0027a10;p=karo-tx-linux.git MIPS: Alchemy: Fix typo in MAC0 registration Harmless typo which prints an error message although MAC0 was registered successfully. Signed-off-by: Manuel Lauss To: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/2672/ Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/alchemy/common/platform.c b/arch/mips/alchemy/common/platform.c index 4cb557644412..c8e5d72a5826 100644 --- a/arch/mips/alchemy/common/platform.c +++ b/arch/mips/alchemy/common/platform.c @@ -321,7 +321,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");