From patchwork Mon Aug 15 15:31:20 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Huewe X-Patchwork-Id: 1067982 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p7FFVsAx030363 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 15 Aug 2011 15:32:15 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Qsz8V-0003cg-45; Mon, 15 Aug 2011 15:31:31 +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 1Qsz8U-00040h-Kh; Mon, 15 Aug 2011 15:31:30 +0000 Received: from mailout-de.gmx.net ([213.165.64.22]) by canuck.infradead.org with smtp (Exim 4.76 #1 (Red Hat Linux)) id 1Qsz8R-00040O-N1 for linux-arm-kernel@lists.infradead.org; Mon, 15 Aug 2011 15:31:28 +0000 Received: (qmail invoked by alias); 15 Aug 2011 15:31:24 -0000 Received: from dslb-084-056-030-126.pools.arcor-ip.net (EHLO localhost.localdomain) [84.56.30.126] by mail.gmx.net (mp054) with SMTP; 15 Aug 2011 17:31:24 +0200 X-Authenticated: #12255092 X-Provags-ID: V01U2FsdGVkX19R2+MSGz9R+ze3IBzpbHGNiXVIKXRt8eX9tVsNce oWbTBFw3Z4dBvc From: Peter Huewe To: Thomas Gleixner Subject: [PATCH] arm: footbridge: Netwinder: Add KConfig select CLKEVT_I8253 to fix build failure Date: Mon, 15 Aug 2011 17:31:20 +0200 Message-Id: <1313422280-21942-1-git-send-email-peterhuewe@gmx.de> X-Mailer: git-send-email 1.7.3.4 X-Y-GMX-Trusted: 0 X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110815_113128_049722_AEC9B7EC X-CRM114-Status: GOOD ( 13.55 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [213.165.64.22 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (peterhuewe[at]gmx.de) Cc: Russell King , linux-kernel@vger.kernel.org, Ralf Baechle , John Stultz , peterhuewe@gmx.de, 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: , MIME-Version: 1.0 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 (demeter2.kernel.org [140.211.167.43]); Mon, 15 Aug 2011 15:32:15 +0000 (UTC) This patch fixes a build failure for the netwinder_defconfig by adding the necessary select CLKEVT_I8253 statement to the KCONFIG option. Without this patch the build fails with this linker error: isa-rtc.c:(.init.text+0x11d4): undefined reference to `clockevent_i8253_init' isa-rtc.c:(.init.text+0x11dc): undefined reference to `i8253_clockevent' arch/arm/mach-footbridge/built-in.o:(.data+0x18c): undefined reference to `i8253_clockevent' This is because the functions are guarded by a #ifdef CONFIG_CLKEVT_I8253 KernelVersion: Linux-next 20110812 but this is also present in Linus' current tree since July 1st. (since commit e6220bd "i8253: Create common clockevent implementation") Signed-off-by: Peter Huewe --- arch/arm/mach-footbridge/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-footbridge/Kconfig b/arch/arm/mach-footbridge/Kconfig index dc26fff..c8e7afc 100644 --- a/arch/arm/mach-footbridge/Kconfig +++ b/arch/arm/mach-footbridge/Kconfig @@ -62,6 +62,7 @@ config ARCH_EBSA285_HOST config ARCH_NETWINDER bool "NetWinder" select CLKSRC_I8253 + select CLKEVT_I8253 select FOOTBRIDGE_HOST select ISA select ISA_DMA