summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/omap4-common.c
diff options
context:
space:
mode:
authorMarc Zyngier2011-11-15 18:22:45 +0100
committerMarc Zyngier2011-11-15 19:14:02 +0100
commitab65be268adaae59da5b1306b425a7859f955669 (patch)
tree033547127752370398114d943f76aa6379bf85b1 /arch/arm/mach-omap2/omap4-common.c
parentARM: omap2plus: convert to CONFIG_MULTI_IRQ_HANDLER (diff)
downloadkernel-qcow2-linux-ab65be268adaae59da5b1306b425a7859f955669.tar.gz
kernel-qcow2-linux-ab65be268adaae59da5b1306b425a7859f955669.tar.xz
kernel-qcow2-linux-ab65be268adaae59da5b1306b425a7859f955669.zip
ARM: omap2plus: remove irq-related global base addresses
After the MULTI_IRQ_HANDLER conversion, a couple of global variables can be removed. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap4-common.c')
-rw-r--r--arch/arm/mach-omap2/omap4-common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/omap4-common.c b/arch/arm/mach-omap2/omap4-common.c
index 35ac3e5f6e94..073f12a666a4 100644
--- a/arch/arm/mach-omap2/omap4-common.c
+++ b/arch/arm/mach-omap2/omap4-common.c
@@ -28,11 +28,11 @@
void __iomem *l2cache_base;
#endif
-void __iomem *gic_dist_base_addr;
-
-
void __init gic_init_irq(void)
{
+ void __iomem *omap_irq_base;
+ void __iomem *gic_dist_base_addr;
+
/* Static mapping, never released */
gic_dist_base_addr = ioremap(OMAP44XX_GIC_DIST_BASE, SZ_4K);
BUG_ON(!gic_dist_base_addr);