提交 f9e7d100 编写于 作者: A Adrian Bunk 提交者: 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: NAdrian Bunk <adrian.bunk@movial.fi>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册