diff options
-rw-r--r-- | arch/arm/mach-orion5x/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/mach-orion5x/dns323-setup.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-orion5x/Kconfig b/arch/arm/mach-orion5x/Kconfig index 2cb2f06c20f5..14f2cae4109c 100644 --- a/arch/arm/mach-orion5x/Kconfig +++ b/arch/arm/mach-orion5x/Kconfig | |||
@@ -33,7 +33,6 @@ config MACH_KUROBOX_PRO | |||
33 | config MACH_DNS323 | 33 | config MACH_DNS323 |
34 | bool "D-Link DNS-323" | 34 | bool "D-Link DNS-323" |
35 | select I2C_BOARDINFO | 35 | select I2C_BOARDINFO |
36 | select PHYLIB | ||
37 | help | 36 | help |
38 | Say 'Y' here if you want your kernel to support the | 37 | Say 'Y' here if you want your kernel to support the |
39 | D-Link DNS-323 platform. | 38 | D-Link DNS-323 platform. |
diff --git a/arch/arm/mach-orion5x/dns323-setup.c b/arch/arm/mach-orion5x/dns323-setup.c index 70974732cbf0..56edeab17b68 100644 --- a/arch/arm/mach-orion5x/dns323-setup.c +++ b/arch/arm/mach-orion5x/dns323-setup.c | |||
@@ -642,6 +642,8 @@ static void __init dns323_init(void) | |||
642 | platform_device_register_simple("dns323c-fan", 0, NULL, 0); | 642 | platform_device_register_simple("dns323c-fan", 0, NULL, 0); |
643 | 643 | ||
644 | /* Register fixup for the PHY LEDs */ | 644 | /* Register fixup for the PHY LEDs */ |
645 | if (!IS_BUILTIN(CONFIG_PHYLIB)) | ||
646 | break; | ||
645 | phy_register_fixup_for_uid(MARVELL_PHY_ID_88E1118, | 647 | phy_register_fixup_for_uid(MARVELL_PHY_ID_88E1118, |
646 | MARVELL_PHY_ID_MASK, | 648 | MARVELL_PHY_ID_MASK, |
647 | dns323c_phy_fixup); | 649 | dns323c_phy_fixup); |