From patchwork Mon Jan 17 04:31:19 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 482991 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p0H4W7vO014919 for ; Mon, 17 Jan 2011 04:32:13 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752583Ab1AQEcN (ORCPT ); Sun, 16 Jan 2011 23:32:13 -0500 Received: from na3sys009aog104.obsmtp.com ([74.125.149.73]:41858 "EHLO na3sys009aog104.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752338Ab1AQEcL (ORCPT ); Sun, 16 Jan 2011 23:32:11 -0500 Received: from source ([209.85.213.42]) (using TLSv1) by na3sys009aob104.postini.com ([74.125.148.12]) with SMTP ID DSNKTTPGSvW2mu1fE1JSsRXePMG1b7HPjvgc@postini.com; Sun, 16 Jan 2011 20:32:11 PST Received: by yws5 with SMTP id 5so1638205yws.29 for ; Sun, 16 Jan 2011 20:32:10 -0800 (PST) Received: by 10.236.108.135 with SMTP id q7mr4192007yhg.20.1295238730220; Sun, 16 Jan 2011 20:32:10 -0800 (PST) Received: from localhost (dragon.ti.com [192.94.94.33]) by mx.google.com with ESMTPS id i2sm2428603yha.25.2011.01.16.20.32.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 16 Jan 2011 20:32:09 -0800 (PST) From: Felipe Balbi To: Tony Lindgren Cc: Linux ARM Kernel Mailing List , Linux OMAP Mailing List , Felipe Balbi Subject: [PATCH 6/7] arm: omap2: irq: fix compile warning: Date: Mon, 17 Jan 2011 06:31:19 +0200 Message-Id: <1295238680-26738-7-git-send-email-balbi@ti.com> X-Mailer: git-send-email 1.7.3.4.598.g85356 In-Reply-To: <1295238680-26738-1-git-send-email-balbi@ti.com> References: <1295238680-26738-1-git-send-email-balbi@ti.com> Organization: Texas Instruments\n 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 (demeter1.kernel.org [140.211.167.41]); Mon, 17 Jan 2011 04:32:13 +0000 (UTC) diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/irq.c index 23049c4..d151aac 100644 --- a/arch/arm/mach-omap2/irq.c +++ b/arch/arm/mach-omap2/irq.c @@ -61,8 +61,6 @@ struct omap3_intc_regs { u32 mir[INTCPS_NR_MIR_REGS]; }; -static struct omap3_intc_regs intc_context[ARRAY_SIZE(irq_banks)]; - /* INTC bank register get/set */ static void intc_bank_write_reg(u32 val, struct omap_irq_bank *bank, u16 reg) @@ -229,6 +227,8 @@ void __init omap_init_irq(void) } #ifdef CONFIG_ARCH_OMAP3 +static struct omap3_intc_regs intc_context[ARRAY_SIZE(irq_banks)]; + void omap_intc_save_context(void) { int ind = 0, i = 0;