From patchwork Sun Aug 21 05:09:08 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: axel lin X-Patchwork-Id: 1083082 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p7L59m4p001196 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 21 Aug 2011 05:10:09 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Qv0Hm-0006X0-17; Sun, 21 Aug 2011 05:09:26 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Qv0Hl-0006A1-IO; Sun, 21 Aug 2011 05:09:25 +0000 Received: from mail-yw0-f49.google.com ([209.85.213.49]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Qv0Hi-00069T-AU for linux-arm-kernel@lists.infradead.org; Sun, 21 Aug 2011 05:09:23 +0000 Received: by ywp17 with SMTP id 17so3540765ywp.36 for ; Sat, 20 Aug 2011 22:09:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:from:to:cc:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=Cm5uBcR/FNXRj5auDNyJJES82MmzrlfLhACAd16vrqs=; b=liLFL06R5kGz+/o4ha9qaPyttOv62VHqNQMPwu+UEqaybKVGJ5UVGEKWpdLX1CkkSc g1a3DTDjPv3xW+RdIafOQiqTV1j6eoXohQ6PGONQYjjTpw2fvI8nmoaJC39Z14oT2OEI ELDhSSmgONEmSPLtwI+lpfZs6BgqcjZVSEHPM= Received: by 10.150.170.19 with SMTP id s19mr969476ybe.305.1313903356543; Sat, 20 Aug 2011 22:09:16 -0700 (PDT) Received: from [218.172.236.18] (218-172-236-18.dynamic.hinet.net [218.172.236.18]) by mx.google.com with ESMTPS id n2sm1654523ybe.6.2011.08.20.22.09.13 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 20 Aug 2011 22:09:15 -0700 (PDT) Subject: [PATCH] ARM: mach-davinci: Select PHYLIB for ARCH_DAVINCI_DM644x From: Axel Lin To: linux-kernel@vger.kernel.org Date: Sun, 21 Aug 2011 13:09:08 +0800 Message-ID: <1313903348.25059.3.camel@phoenix> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110821_010922_649420_69A1E6DF X-CRM114-Status: GOOD ( 12.08 ) X-Spam-Score: -0.8 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-0.8 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (axel.lin[at]gmail.com) -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.213.49 listed in list.dnswl.org] 0.0 T_TO_NO_BRKTS_FREEMAIL To: misformatted and free email service Cc: Kevin Hilman , Russell King , Sekhar Nori , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Sun, 21 Aug 2011 05:10:10 +0000 (UTC) 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"