summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <adrian.bunk@movial.fi>2008-02-27 17:07:54 +0200
committerJeff Garzik <jeff@garzik.org>2008-03-05 06:34:34 -0500
commitf9e7d100ddea5cdcea7a02230566f36b0a648c2e (patch)
tree0aa3ba9d579558e8b1a4731bac7a45a8388da6e0
parentf37c768c39e3aeb8a508e1a45e461a506771445e (diff)
FIXED_PHY must depend on PHYLIB=y
This patch fixes the following build error introduced by commit a79d8e93d300adb84cccc38ac396cfb118c238ad 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: Adrian Bunk <adrian.bunk@movial.fi> Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r--drivers/net/phy/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig
index f4ca0591231..3ac8529bb92 100644
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
@@ -67,6 +67,7 @@ config REALTEK_PHY
config FIXED_PHY
bool "Driver for MDIO Bus/PHY emulation with fixed speed/link PHYs"
+ depends on PHYLIB=y
---help---
Adds the platform "fixed" MDIO Bus to cover the boards that use
PHYs that are not connected to the real MDIO bus.