[patch (for 2.6.25?) 3/3] FIXED_PHY must depend on PHYLIB=y

STALE6761d REVIEWED: 1 (0M)

1 review trailer.

2 messages, 2 authors, 2008-03-05 · open the first message on its own page

[patch (for 2.6.25?) 3/3] FIXED_PHY must depend on PHYLIB=y

From: akpm@linux-foundation.org
Date: 2008-03-04 22:59:32

From: Adrian Bunk <redacted>

Fix the following build error introduced by commit
a79d8e93d300adb84cccc38ac396cfb118c238ad and reported by Olaf Hering:

arch/powerpc/sysdev/built-in.o: In function `of_add_fixed_phys':
fsl_soc.c:(.init.text+0xd34): undefined reference to `fixed_phy_add'

Signed-off-by: Adrian Bunk <redacted>
Tested-by: Olaf Hering <redacted>
Cc: Jeff Garzik <redacted>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/net/phy/Kconfig |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/net/phy/Kconfig~fixed_phy-must-depend-on-phylib=y drivers/net/phy/Kconfig
--- a/drivers/net/phy/Kconfig~fixed_phy-must-depend-on-phylib=y
+++ a/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.
_

Re: [patch (for 2.6.25?) 3/3] FIXED_PHY must depend on PHYLIB=y

From: Adrian Bunk <hidden>
Date: 2008-03-05 07:51:18

It's a regression in 2.6.25-rc, so the fix should go into 2.6.25.

cu
Adrian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help