summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/omap4-common.c
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2011-11-15 21:22:45 +0400
committerMarc Zyngier <marc.zyngier@arm.com>2011-11-15 22:14:02 +0400
commitab65be268adaae59da5b1306b425a7859f955669 (patch)
tree033547127752370398114d943f76aa6379bf85b1 /arch/arm/mach-omap2/omap4-common.c
parent6b2f55d7851aa358d3a99cff344c560c4967f042 (diff)
downloadlinux-ab65be268adaae59da5b1306b425a7859f955669.tar.xz
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);