diff options
Diffstat (limited to 'arch/arm/mach-omap2/omap4-common.c')
-rw-r--r-- | arch/arm/mach-omap2/omap4-common.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/arch/arm/mach-omap2/omap4-common.c b/arch/arm/mach-omap2/omap4-common.c index 6897ae21bb82..547094883606 100644 --- a/arch/arm/mach-omap2/omap4-common.c +++ b/arch/arm/mach-omap2/omap4-common.c | |||
@@ -15,13 +15,14 @@ | |||
15 | #include <linux/init.h> | 15 | #include <linux/init.h> |
16 | #include <linux/io.h> | 16 | #include <linux/io.h> |
17 | #include <linux/irq.h> | 17 | #include <linux/irq.h> |
18 | #include <linux/irqchip.h> | ||
18 | #include <linux/platform_device.h> | 19 | #include <linux/platform_device.h> |
19 | #include <linux/memblock.h> | 20 | #include <linux/memblock.h> |
20 | #include <linux/of_irq.h> | 21 | #include <linux/of_irq.h> |
21 | #include <linux/of_platform.h> | 22 | #include <linux/of_platform.h> |
22 | #include <linux/export.h> | 23 | #include <linux/export.h> |
24 | #include <linux/irqchip/arm-gic.h> | ||
23 | 25 | ||
24 | #include <asm/hardware/gic.h> | ||
25 | #include <asm/hardware/cache-l2x0.h> | 26 | #include <asm/hardware/cache-l2x0.h> |
26 | #include <asm/mach/map.h> | 27 | #include <asm/mach/map.h> |
27 | #include <asm/memblock.h> | 28 | #include <asm/memblock.h> |
@@ -255,16 +256,10 @@ static int __init omap4_sar_ram_init(void) | |||
255 | } | 256 | } |
256 | early_initcall(omap4_sar_ram_init); | 257 | early_initcall(omap4_sar_ram_init); |
257 | 258 | ||
258 | static struct of_device_id irq_match[] __initdata = { | ||
259 | { .compatible = "arm,cortex-a9-gic", .data = gic_of_init, }, | ||
260 | { .compatible = "arm,cortex-a15-gic", .data = gic_of_init, }, | ||
261 | { } | ||
262 | }; | ||
263 | |||
264 | void __init omap_gic_of_init(void) | 259 | void __init omap_gic_of_init(void) |
265 | { | 260 | { |
266 | omap_wakeupgen_init(); | 261 | omap_wakeupgen_init(); |
267 | of_irq_init(irq_match); | 262 | irqchip_init(); |
268 | } | 263 | } |
269 | 264 | ||
270 | #if defined(CONFIG_MMC_OMAP_HS) || defined(CONFIG_MMC_OMAP_HS_MODULE) | 265 | #if defined(CONFIG_MMC_OMAP_HS) || defined(CONFIG_MMC_OMAP_HS_MODULE) |