aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/ar7/platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/ar7/platform.c')
-rw-r--r--arch/mips/ar7/platform.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/mips/ar7/platform.c b/arch/mips/ar7/platform.c
index be9ff1673ded..298b97715d5f 100644
--- a/arch/mips/ar7/platform.c
+++ b/arch/mips/ar7/platform.c
@@ -679,7 +679,8 @@ static int __init ar7_register_devices(void)
679 } 679 }
680 680
681 if (ar7_has_high_cpmac()) { 681 if (ar7_has_high_cpmac()) {
682 res = fixed_phy_add(PHY_POLL, cpmac_high.id, &fixed_phy_status); 682 res = fixed_phy_add(PHY_POLL, cpmac_high.id,
683 &fixed_phy_status, -1);
683 if (!res) { 684 if (!res) {
684 cpmac_get_mac(1, cpmac_high_data.dev_addr); 685 cpmac_get_mac(1, cpmac_high_data.dev_addr);
685 686
@@ -692,7 +693,7 @@ static int __init ar7_register_devices(void)
692 } else 693 } else
693 cpmac_low_data.phy_mask = 0xffffffff; 694 cpmac_low_data.phy_mask = 0xffffffff;
694 695
695 res = fixed_phy_add(PHY_POLL, cpmac_low.id, &fixed_phy_status); 696 res = fixed_phy_add(PHY_POLL, cpmac_low.id, &fixed_phy_status, -1);
696 if (!res) { 697 if (!res) {
697 cpmac_get_mac(0, cpmac_low_data.dev_addr); 698 cpmac_get_mac(0, cpmac_low_data.dev_addr);
698 res = platform_device_register(&cpmac_low); 699 res = platform_device_register(&cpmac_low);