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: 923942 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 p5S96ARA026624 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 28 Jun 2011 09:06:31 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QbUF4-00054B-Br; Tue, 28 Jun 2011 09:05:58 +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 1QbUF4-0004oB-0n; Tue, 28 Jun 2011 09:05:58 +0000 Received: from mail-iw0-f177.google.com ([209.85.214.177]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QbUF1-0004ns-1N for linux-arm-kernel@lists.infradead.org; Tue, 28 Jun 2011 09:05:55 +0000 Received: by iwn35 with SMTP id 35so5887184iwn.36 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 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 X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110628_050555_278433_C68F0496 X-CRM114-Status: GOOD ( 14.38 ) 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.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.214.177 listed in list.dnswl.org] 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.0 T_TO_NO_BRKTS_FREEMAIL T_TO_NO_BRKTS_FREEMAIL Cc: Tony Lindgren , linux-omap@vger.kernel.org, Russell King , 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 (demeter2.kernel.org [140.211.167.43]); Tue, 28 Jun 2011 09:06:32 +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"