From patchwork Mon Aug 15 15:40:10 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Huewe X-Patchwork-Id: 1068012 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 p7FFeZIF011810 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 15 Aug 2011 15:40:56 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QszH3-0004X1-Pv; Mon, 15 Aug 2011 15:40:21 +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 1QszH3-00048u-Ag; Mon, 15 Aug 2011 15:40:21 +0000 Received: from mailout-de.gmx.net ([213.165.64.23]) by canuck.infradead.org with smtp (Exim 4.76 #1 (Red Hat Linux)) id 1QszH0-00048a-1a for linux-arm-kernel@lists.infradead.org; Mon, 15 Aug 2011 15:40:19 +0000 Received: (qmail invoked by alias); 15 Aug 2011 15:40:13 -0000 Received: from dslb-084-056-030-126.pools.arcor-ip.net (EHLO localhost.localdomain) [84.56.30.126] by mail.gmx.net (mp001) with SMTP; 15 Aug 2011 17:40:13 +0200 X-Authenticated: #12255092 X-Provags-ID: V01U2FsdGVkX18k32s/IDEkfyTQac9o6wQJUZhM2wjZ1qA8XACasL JU+EpDel9R7w5w From: Peter Huewe To: "Rafael J. Wysocki" , Paul Mundt Subject: [PATCH v2] arm: footbridge: Netwinder: Add KConfig select CLKEVT_I8253 to fix build failure Date: Mon, 15 Aug 2011 17:40:10 +0200 Message-Id: <1313422810-28916-1-git-send-email-peterhuewe@gmx.de> X-Mailer: git-send-email 1.7.3.4 In-Reply-To: <20110815153338.GA525@n2100.arm.linux.org.uk> References: <20110815153338.GA525@n2100.arm.linux.org.uk> X-Y-GMX-Trusted: 0 X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110815_114018_349938_A9CEF747 X-CRM114-Status: GOOD ( 14.98 ) 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 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (peterhuewe[at]gmx.de) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [213.165.64.23 listed in list.dnswl.org] Cc: Russell King , linux-sh@vger.kernel.org, Magnus Damm , linux-kernel@vger.kernel.org, Peter Huewe , 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:40:56 +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") v2: Added the option in the right alphabetical order. I also adjusted the alphabetical order for ARCH_CATS so both are similar Signed-off-by: Peter Huewe --- arch/arm/mach-footbridge/Kconfig | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-footbridge/Kconfig b/arch/arm/mach-footbridge/Kconfig index dc26fff..f643ef8 100644 --- a/arch/arm/mach-footbridge/Kconfig +++ b/arch/arm/mach-footbridge/Kconfig @@ -4,8 +4,8 @@ menu "Footbridge Implementations" config ARCH_CATS bool "CATS" - select CLKSRC_I8253 select CLKEVT_I8253 + select CLKSRC_I8253 select FOOTBRIDGE_HOST select ISA select ISA_DMA @@ -61,6 +61,7 @@ config ARCH_EBSA285_HOST config ARCH_NETWINDER bool "NetWinder" + select CLKEVT_I8253 select CLKSRC_I8253 select FOOTBRIDGE_HOST select ISA