From patchwork Mon Jul 28 21:15:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 34426 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f200.google.com (mail-ig0-f200.google.com [209.85.213.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 59F96202E4 for ; Mon, 28 Jul 2014 21:20:46 +0000 (UTC) Received: by mail-ig0-f200.google.com with SMTP id uq10sf16779513igb.3 for ; Mon, 28 Jul 2014 14:20:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:mime-version:cc:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:content-type :content-transfer-encoding; bh=hYlyH31lWASGKq6aUf98y28/6CmemfvSzU9KRgvHTa0=; b=m3C26k6213O7NGqV53LrlkgDGZeN1EzWTQLiGnOoxM96Gi5MKcOohJiSwMbcA5+1NZ oL9xQNeh8kPMnV4laPXbNFkzmED+0bAIMPnnQ7DUJImZ8/wrAOEkPK+ybI5NzL4zDWnV WJNDesHVyJkkkksgIE33KIGooqWIjZPS1Xv1yyDTrN9+UBOwgui4oQi1N4dq2F12/PXi YbqVX5Gx0Gh0XAVBGtWjyxVpIBe0NOkqgDH04lIa32HzjBCX4UisxzyvpOmO/PlCF1Ir bmmnGlihQfvmvEXpn5Xp3cnCa+Nd0SpBs/dU/Rct0E8L47vjoG6oql91sSDJvKohRvwu VOQw== X-Gm-Message-State: ALoCoQkv3hEEm08s3YZDs8nfvUgqjFjiHieU7avRm5Rft9O47UbZAyafUv3sXHSwxTTHWkDDGnGf X-Received: by 10.50.80.111 with SMTP id q15mr11904763igx.0.1406582445765; Mon, 28 Jul 2014 14:20:45 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.41.231 with SMTP id z94ls453352qgz.54.gmail; Mon, 28 Jul 2014 14:20:45 -0700 (PDT) X-Received: by 10.52.239.6 with SMTP id vo6mr7886188vdc.59.1406582445624; Mon, 28 Jul 2014 14:20:45 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id bh2si13307117vec.95.2014.07.28.14.20.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 28 Jul 2014 14:20:45 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.173 as permitted sender) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id hy10so12136815vcb.4 for ; Mon, 28 Jul 2014 14:20:45 -0700 (PDT) X-Received: by 10.52.129.165 with SMTP id nx5mr30080vdb.25.1406582445530; Mon, 28 Jul 2014 14:20:45 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp197163vcb; Mon, 28 Jul 2014 14:20:44 -0700 (PDT) X-Received: by 10.70.65.40 with SMTP id u8mr33024882pds.96.1406582438913; Mon, 28 Jul 2014 14:20:38 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id cm4si18997495pbb.201.2014.07.28.14.20.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Jul 2014 14:20:38 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XBsKA-0004e5-4r; Mon, 28 Jul 2014 21:19:14 +0000 Received: from arroyo.ext.ti.com ([192.94.94.40]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XBsIT-0003BG-OK for linux-arm-kernel@lists.infradead.org; Mon, 28 Jul 2014 21:17:32 +0000 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s6SLGlpD003869; Mon, 28 Jul 2014 16:16:47 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s6SLGkd0014483; Mon, 28 Jul 2014 16:16:47 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Mon, 28 Jul 2014 16:16:46 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s6SLGk0K027439; Mon, 28 Jul 2014 16:16:46 -0500 From: Felipe Balbi To: Tony Lindgren Subject: [PATCH 01/35] arm: omap: irq: make omap_irq_base global Date: Mon, 28 Jul 2014 16:15:49 -0500 Message-ID: <1406582183-696-2-git-send-email-balbi@ti.com> X-Mailer: git-send-email 2.0.1.563.g66f467c In-Reply-To: <1406582183-696-1-git-send-email-balbi@ti.com> References: <1406582183-696-1-git-send-email-balbi@ti.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140728_141729_967192_49CDAFE7 X-CRM114-Status: GOOD ( 10.49 ) X-Spam-Score: -5.7 (-----) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-5.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [192.94.94.40 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [192.94.94.40 listed in wl.mailspike.net] -0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Cc: devicetree@vger.kernel.org, linux@arm.linux.org.uk, jason@lakedaemon.net, khilman@deeprootsystems.com, Linux Kernel Mailing List , Felipe Balbi , bcousson@baylibre.com, tglx@linutronix.de, Linux OMAP Mailing List , Linux ARM Kernel Mailing List X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: balbi@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.173 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 This is in preparation for removing the pointless irq_banks array. Signed-off-by: Felipe Balbi --- arch/arm/mach-omap2/irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/irq.c index 35b8590..7b2cf9a 100644 --- a/arch/arm/mach-omap2/irq.c +++ b/arch/arm/mach-omap2/irq.c @@ -68,6 +68,7 @@ static struct omap_irq_bank { }; static struct irq_domain *domain; +static void __iomem *omap_irq_base; /* Structure to save interrupt controller context */ struct omap3_intc_regs { @@ -161,7 +162,6 @@ omap_alloc_gc(void __iomem *base, unsigned int irq_start, unsigned int num) static void __init omap_init_irq(u32 base, int nr_irqs, struct device_node *node) { - void __iomem *omap_irq_base; unsigned long nr_of_irqs = 0; unsigned int nr_banks = 0; int i, j, irq_base;