diff options
Diffstat (limited to 'arch/mips/alchemy/common/platform.c')
-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 9837a134a6d6..fb89d213523b 100644 --- a/arch/mips/alchemy/common/platform.c +++ b/arch/mips/alchemy/common/platform.c | |||
@@ -420,7 +420,7 @@ static void __init alchemy_setup_macs(int ctype) | |||
420 | memcpy(au1xxx_eth1_platform_data.mac, ethaddr, 6); | 420 | memcpy(au1xxx_eth1_platform_data.mac, ethaddr, 6); |
421 | 421 | ||
422 | /* Register second MAC if enabled in pinfunc */ | 422 | /* Register second MAC if enabled in pinfunc */ |
423 | if (!(au_readl(SYS_PINFUNC) & (u32)SYS_PF_NI2)) { | 423 | if (!(alchemy_rdsys(AU1000_SYS_PINFUNC) & SYS_PF_NI2)) { |
424 | ret = platform_device_register(&au1xxx_eth1_device); | 424 | ret = platform_device_register(&au1xxx_eth1_device); |
425 | if (ret) | 425 | if (ret) |
426 | printk(KERN_INFO "Alchemy: failed to register MAC1\n"); | 426 | printk(KERN_INFO "Alchemy: failed to register MAC1\n"); |