diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap2/include/mach/omap4-common.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/io.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-omap2/irq.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap2/omap4-common.c | 6 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/irqs.h | 1 |
5 files changed, 4 insertions, 9 deletions
diff --git a/arch/arm/mach-omap2/include/mach/omap4-common.h b/arch/arm/mach-omap2/include/mach/omap4-common.h index e4bd87619734..e7c85a9a472e 100644 --- a/arch/arm/mach-omap2/include/mach/omap4-common.h +++ b/arch/arm/mach-omap2/include/mach/omap4-common.h | |||
@@ -28,8 +28,6 @@ | |||
28 | extern void __iomem *l2cache_base; | 28 | extern void __iomem *l2cache_base; |
29 | #endif | 29 | #endif |
30 | 30 | ||
31 | extern void __iomem *gic_dist_base_addr; | ||
32 | |||
33 | extern void __init gic_init_irq(void); | 31 | extern void __init gic_init_irq(void); |
34 | extern void omap_smc1(u32 fn, u32 arg); | 32 | extern void omap_smc1(u32 fn, u32 arg); |
35 | 33 | ||
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index 25d20ced03e1..547f83145e30 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c | |||
@@ -316,9 +316,6 @@ static int _set_hwmod_postsetup_state(struct omap_hwmod *oh, void *data) | |||
316 | return omap_hwmod_set_postsetup_state(oh, *(u8 *)data); | 316 | return omap_hwmod_set_postsetup_state(oh, *(u8 *)data); |
317 | } | 317 | } |
318 | 318 | ||
319 | /* See irq.c, omap4-common.c and entry-macro.S */ | ||
320 | void __iomem *omap_irq_base; | ||
321 | |||
322 | static void __init omap_common_init_early(void) | 319 | static void __init omap_common_init_early(void) |
323 | { | 320 | { |
324 | omap2_check_revision(); | 321 | omap2_check_revision(); |
diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/irq.c index ec52bee0e089..42b1d6591912 100644 --- a/arch/arm/mach-omap2/irq.c +++ b/arch/arm/mach-omap2/irq.c | |||
@@ -149,6 +149,7 @@ omap_alloc_gc(void __iomem *base, unsigned int irq_start, unsigned int num) | |||
149 | 149 | ||
150 | static void __init omap_init_irq(u32 base, int nr_irqs) | 150 | static void __init omap_init_irq(u32 base, int nr_irqs) |
151 | { | 151 | { |
152 | void __iomem *omap_irq_base; | ||
152 | unsigned long nr_of_irqs = 0; | 153 | unsigned long nr_of_irqs = 0; |
153 | unsigned int nr_banks = 0; | 154 | unsigned int nr_banks = 0; |
154 | int i, j; | 155 | int i, j; |
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 @@ | |||
28 | void __iomem *l2cache_base; | 28 | void __iomem *l2cache_base; |
29 | #endif | 29 | #endif |
30 | 30 | ||
31 | void __iomem *gic_dist_base_addr; | ||
32 | |||
33 | |||
34 | void __init gic_init_irq(void) | 31 | void __init gic_init_irq(void) |
35 | { | 32 | { |
33 | void __iomem *omap_irq_base; | ||
34 | void __iomem *gic_dist_base_addr; | ||
35 | |||
36 | /* Static mapping, never released */ | 36 | /* Static mapping, never released */ |
37 | gic_dist_base_addr = ioremap(OMAP44XX_GIC_DIST_BASE, SZ_4K); | 37 | gic_dist_base_addr = ioremap(OMAP44XX_GIC_DIST_BASE, SZ_4K); |
38 | BUG_ON(!gic_dist_base_addr); | 38 | BUG_ON(!gic_dist_base_addr); |
diff --git a/arch/arm/plat-omap/include/plat/irqs.h b/arch/arm/plat-omap/include/plat/irqs.h index 8b19a63fab68..90b95dd2064e 100644 --- a/arch/arm/plat-omap/include/plat/irqs.h +++ b/arch/arm/plat-omap/include/plat/irqs.h | |||
@@ -437,7 +437,6 @@ | |||
437 | #define INTCPS_NR_IRQS 96 | 437 | #define INTCPS_NR_IRQS 96 |
438 | 438 | ||
439 | #ifndef __ASSEMBLY__ | 439 | #ifndef __ASSEMBLY__ |
440 | extern void __iomem *omap_irq_base; | ||
441 | void omap1_init_irq(void); | 440 | void omap1_init_irq(void); |
442 | void omap2_init_irq(void); | 441 | void omap2_init_irq(void); |
443 | void omap3_init_irq(void); | 442 | void omap3_init_irq(void); |