From patchwork Tue Jun 28 09:05:43 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: axel lin X-Patchwork-Id: 924192 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p5SAZTOg004484 for ; Tue, 28 Jun 2011 10:35:30 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756193Ab1F1JHI (ORCPT ); Tue, 28 Jun 2011 05:07:08 -0400 Received: from mail-iw0-f174.google.com ([209.85.214.174]:43540 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756537Ab1F1JFx (ORCPT ); Tue, 28 Jun 2011 05:05:53 -0400 Received: by iwn6 with SMTP id 6so4791806iwn.19 for ; Tue, 28 Jun 2011 02:05:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:to:cc:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; bh=eTfA/XmjZ7BKdP4pGw7xYWhpHulTrPZzbt7pIbUZDw0=; b=mvKo5qUPvF1Ng0ChH3l6R3BOmbgA+IewKBAmJEYjb5+DkEb2DOgt4nrgAnYP9hLKRb UmCZlfN2GNTOrJ/aLzyemb94rKZ/pKsr0BBnwwxb988ImVNSAZigVl0+Zv9ohtwXi98t 0DJXggX8Po3ZrN/nwW+AyfS3xiUffQxHRDwgw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; b=eTidOoZ+DpXWJ8+81mLSyCqkuMs5lFaMYMVmdKMv+gQao5uZhw81ccVoWl+PTwvYtc phmPBV38rSC3FQ8amkfUb4st+SZq8Y04ojWmSZDbzwOEABdfpmJe5Zc5fTe4dKN623Np LFgqc+UTug6k8ra+zXLVrmk4uRLrKZoYyP3j4= Received: by 10.231.74.11 with SMTP id s11mr7023541ibj.44.1309251950898; Tue, 28 Jun 2011 02:05:50 -0700 (PDT) Received: from [218.172.239.247] (218-172-239-247.dynamic.hinet.net [218.172.239.247]) by mx.google.com with ESMTPS id 4sm3516662ibc.25.2011.06.28.02.05.48 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 28 Jun 2011 02:05:50 -0700 (PDT) Subject: [PATCH] omap1: select GENERIC_IRQ_CHIP for TI OMAP1 From: Axel Lin To: linux-kernel@vger.kernel.org Cc: Tony Lindgren , Russell King , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Date: Tue, 28 Jun 2011 17:05:43 +0800 Message-ID: <1309251943.3984.1.camel@phoenix> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Tue, 28 Jun 2011 10:35:30 +0000 (UTC) The gpio-omap driver has been converted to use generic IRQ chip. Thus select GENERIC_IRQ_CHIP for TI OMAP1 to fix below build error. LD vmlinux drivers/built-in.o: In function `omap_mpuio_alloc_gc': drivers/gpio/gpio-omap.c:1087: undefined reference to `irq_alloc_generic_chip' drivers/gpio/gpio-omap.c:1100: undefined reference to `irq_setup_generic_chip' drivers/built-in.o: In function `omap_gpio_show_rev': drivers/gpio/gpio-omap.c:998: undefined reference to `irq_gc_mask_clr_bit' drivers/gpio/gpio-omap.c:998: undefined reference to `irq_gc_mask_set_bit' make: *** [vmlinux] Error 1 Signed-off-by: Axel Lin --- arch/arm/plat-omap/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig index 49a4c75..9a4a6bf 100644 --- a/arch/arm/plat-omap/Kconfig +++ b/arch/arm/plat-omap/Kconfig @@ -13,6 +13,7 @@ config ARCH_OMAP1 bool "TI OMAP1" select CLKDEV_LOOKUP select CLKSRC_MMIO + select GENERIC_IRQ_CHIP help "Systems based on omap7xx, omap15xx or omap16xx"