diff options
author | Manuel Lauss <manuel.lauss@googlemail.com> | 2011-08-02 09:50:56 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2011-09-21 11:52:52 -0400 |
commit | c78c48827336b8aec2a5afcf249f0d0a7fe16859 (patch) | |
tree | 5d0628b602864222bdce2f8d5381b4fe80168651 | |
parent | a705dc7cf4edbf110af19ea55cb5e5d0465adcf4 (diff) |
MIPS: Alchemy: Fix typo in MAC0 registration
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>
-rw-r--r-- | arch/mips/alchemy/common/platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/alchemy/common/platform.c b/arch/mips/alchemy/common/platform.c index 3b2c18b14341..f72c48d4804c 100644 --- 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) | |||
492 | memcpy(au1xxx_eth0_platform_data.mac, ethaddr, 6); | 492 | memcpy(au1xxx_eth0_platform_data.mac, ethaddr, 6); |
493 | 493 | ||
494 | ret = platform_device_register(&au1xxx_eth0_device); | 494 | ret = platform_device_register(&au1xxx_eth0_device); |
495 | if (!ret) | 495 | if (ret) |
496 | printk(KERN_INFO "Alchemy: failed to register MAC0\n"); | 496 | printk(KERN_INFO "Alchemy: failed to register MAC0\n"); |
497 | 497 | ||
498 | 498 | ||