Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756137AbYB0PJ3 (ORCPT ); Wed, 27 Feb 2008 10:09:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755438AbYB0PJH (ORCPT ); Wed, 27 Feb 2008 10:09:07 -0500 Received: from smtp5.pp.htv.fi ([213.243.153.39]:39099 "EHLO smtp5.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754845AbYB0PJF (ORCPT ); Wed, 27 Feb 2008 10:09:05 -0500 Date: Wed, 27 Feb 2008 17:07:54 +0200 From: Adrian Bunk To: Olaf Hering , Anton Vorontsov , Vitaly Bordug , Jeff Garzik , Kumar Gala Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [2.6.25 patch] FIXED_PHY must depend on PHYLIB=y Message-ID: <20080227150754.GA29269@cs181133002.pp.htv.fi> References: <200802271158.00453.olaf@aepfle.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <200802271158.00453.olaf@aepfle.de> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1146 Lines: 34 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 --- 47a94f1d74e448d39f34f0ad37f8b4f69412ee13 diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index f4ca059..3ac8529 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. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/