Commit f9e7d100 authored by Adrian Bunk's avatar Adrian Bunk Committed by Jeff Garzik

FIXED_PHY must depend on PHYLIB=y

This patch fixes the following build error introduced by commit
a79d8e93 and reported by Olaf Hering:

<--  snip  -->

...
  LD      .tmp_vmlinux1
arch/powerpc/sysdev/built-in.o: In function `of_add_fixed_phys':
fsl_soc.c:(.init.text+0xd34): undefined reference to `fixed_phy_add'
make: *** [.tmp_vmlinux1] Error 1

<--   snip  -->
Signed-off-by: default avatarAdrian Bunk <adrian.bunk@movial.fi>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent f37c768c
...@@ -67,6 +67,7 @@ config REALTEK_PHY ...@@ -67,6 +67,7 @@ config REALTEK_PHY
config FIXED_PHY config FIXED_PHY
bool "Driver for MDIO Bus/PHY emulation with fixed speed/link PHYs" bool "Driver for MDIO Bus/PHY emulation with fixed speed/link PHYs"
depends on PHYLIB=y
---help--- ---help---
Adds the platform "fixed" MDIO Bus to cover the boards that use Adds the platform "fixed" MDIO Bus to cover the boards that use
PHYs that are not connected to the real MDIO bus. PHYs that are not connected to the real MDIO bus.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment