From patchwork Mon Aug 22 09:44:49 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 1084862 Received: from arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p7M9kwvA020020 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 22 Aug 2011 09:47:19 GMT Received: from dlep34.itg.ti.com ([157.170.170.115]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id p7M9jZKl030830 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 22 Aug 2011 04:45:35 -0500 Received: from linux.omap.com (smtp-le.itg.ti.com [157.170.170.27]) by dlep34.itg.ti.com (8.13.7/8.13.8) with ESMTP id p7M9jZD0011785; Mon, 22 Aug 2011 04:45:35 -0500 (CDT) Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 3730C80627; Mon, 22 Aug 2011 04:45:35 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp53.itg.ti.com (dflp53.itg.ti.com [128.247.5.6]) by linux.omap.com (Postfix) with ESMTP id 87E5480626 for ; Mon, 22 Aug 2011 04:45:34 -0500 (CDT) Received: from neches.ext.ti.com (neches.ext.ti.com [192.91.81.29]) by dflp53.itg.ti.com (8.13.8/8.13.8) with ESMTP id p7M9jYLj002811 for ; Mon, 22 Aug 2011 04:45:34 -0500 (CDT) Received: from psmtp.com (na3sys009amx202.postini.com [74.125.149.42]) by neches.ext.ti.com (8.13.7/8.13.7) with SMTP id p7M9jXuH013055 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 22 Aug 2011 04:45:33 -0500 Received: from mail-ww0-f47.google.com ([74.125.82.47]) (using TLSv1) by na3sys009amx202.postini.com ([74.125.148.10]) with SMTP; Mon, 22 Aug 2011 09:45:34 GMT Received: by wwf4 with SMTP id 4so5196983wwf.4 for ; Mon, 22 Aug 2011 02:45:31 -0700 (PDT) Received: by 10.216.74.73 with SMTP id w51mr1784552wed.31.1314006331381; Mon, 22 Aug 2011 02:45:31 -0700 (PDT) Received: from [192.168.2.2] ([91.79.80.23]) by mx.google.com with ESMTPS id b14sm841451wed.28.2011.08.22.02.45.29 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 22 Aug 2011 02:45:30 -0700 (PDT) Message-ID: <4E522511.3080202@ru.mvista.com> Date: Mon, 22 Aug 2011 13:44:49 +0400 From: Sergei Shtylyov User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0) Gecko/20110812 Thunderbird/6.0 MIME-Version: 1.0 To: davinci-linux-open-source@linux.davincidsp.com Subject: Fwd: [PATCH] ARM: mach-davinci: Select PHYLIB for ARCH_DAVINCI_DM644x References: <1313903348.25059.3.camel@phoenix> In-Reply-To: <1313903348.25059.3.camel@phoenix> X-Forwarded-Message-Id: <1313903348.25059.3.camel@phoenix> X-pstn-neptune: 0/0/0.00/0 X-pstn-levels: (S:99.90000/99.90000 CV:99.9000 FC:95.5390 LC:95.5390 R:95.9108 P:95.9108 M:97.0282 C:98.6951 ) X-pstn-settings: 2 (0.5000:0.0750) s cv GT3 gt2 gt1 r p m c X-pstn-addresses: from [35/1] X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: davinci-linux-open-source-bounces@linux.davincidsp.com Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com X-Greylist: Sender succeeded STARTTLS authentication, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Mon, 22 Aug 2011 09:47:19 +0000 (UTC) -------- Original Message -------- Subject: [PATCH] ARM: mach-davinci: Select PHYLIB for ARCH_DAVINCI_DM644x Date: Sun, 21 Aug 2011 13:09:08 +0800 From: Axel Lin To: linux-kernel@vger.kernel.org CC: Kevin Hilman , Russell King , Sekhar Nori , linux-arm-kernel@lists.infradead.org We call phy_register_fixup_for_uid in davinci_evm_init, thus we need select PHYLIB to fix below build error: (with "make davinci_all_defconfig") LD .tmp_vmlinux1 arch/arm/mach-davinci/built-in.o: In function `davinci_phy_fixup': pm.c:(.text+0x35b8): undefined reference to `mdiobus_read' pm.c:(.text+0x35d4): undefined reference to `mdiobus_write' arch/arm/mach-davinci/built-in.o: In function `davinci_evm_init': pm.c:(.init.text+0x237c): undefined reference to `phy_register_fixup_for_uid' make: *** [.tmp_vmlinux1] Error 1 Signed-off-by: Axel Lin --- arch/arm/mach-davinci/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-davinci/Kconfig b/arch/arm/mach-davinci/Kconfig index c0deaca..029ec46b 100644 --- a/arch/arm/mach-davinci/Kconfig +++ b/arch/arm/mach-davinci/Kconfig @@ -18,6 +18,7 @@ config ARCH_DAVINCI_DM644x bool "DaVinci 644x based system" select AINTC select ARCH_DAVINCI_DMx + select PHYLIB config ARCH_DAVINCI_DM355 bool "DaVinci 355 based system"