diff options
Diffstat (limited to 'arch/arm/mach-highbank/highbank.c')
-rw-r--r-- | arch/arm/mach-highbank/highbank.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/arch/arm/mach-highbank/highbank.c b/arch/arm/mach-highbank/highbank.c index 6d151f9a3bd4..f9191eacd0fc 100644 --- a/arch/arm/mach-highbank/highbank.c +++ b/arch/arm/mach-highbank/highbank.c | |||
@@ -18,6 +18,7 @@ | |||
18 | #include <linux/dma-mapping.h> | 18 | #include <linux/dma-mapping.h> |
19 | #include <linux/io.h> | 19 | #include <linux/io.h> |
20 | #include <linux/irq.h> | 20 | #include <linux/irq.h> |
21 | #include <linux/irqchip.h> | ||
21 | #include <linux/irqdomain.h> | 22 | #include <linux/irqdomain.h> |
22 | #include <linux/of.h> | 23 | #include <linux/of.h> |
23 | #include <linux/of_irq.h> | 24 | #include <linux/of_irq.h> |
@@ -32,7 +33,6 @@ | |||
32 | #include <asm/smp_twd.h> | 33 | #include <asm/smp_twd.h> |
33 | #include <asm/hardware/arm_timer.h> | 34 | #include <asm/hardware/arm_timer.h> |
34 | #include <asm/hardware/timer-sp.h> | 35 | #include <asm/hardware/timer-sp.h> |
35 | #include <asm/hardware/gic.h> | ||
36 | #include <asm/hardware/cache-l2x0.h> | 36 | #include <asm/hardware/cache-l2x0.h> |
37 | #include <asm/mach/arch.h> | 37 | #include <asm/mach/arch.h> |
38 | #include <asm/mach/map.h> | 38 | #include <asm/mach/map.h> |
@@ -66,12 +66,6 @@ void highbank_set_cpu_jump(int cpu, void *jump_addr) | |||
66 | HB_JUMP_TABLE_PHYS(cpu) + 15); | 66 | HB_JUMP_TABLE_PHYS(cpu) + 15); |
67 | } | 67 | } |
68 | 68 | ||
69 | const static struct of_device_id irq_match[] = { | ||
70 | { .compatible = "arm,cortex-a15-gic", .data = gic_of_init, }, | ||
71 | { .compatible = "arm,cortex-a9-gic", .data = gic_of_init, }, | ||
72 | {} | ||
73 | }; | ||
74 | |||
75 | #ifdef CONFIG_CACHE_L2X0 | 69 | #ifdef CONFIG_CACHE_L2X0 |
76 | static void highbank_l2x0_disable(void) | 70 | static void highbank_l2x0_disable(void) |
77 | { | 71 | { |
@@ -82,7 +76,7 @@ static void highbank_l2x0_disable(void) | |||
82 | 76 | ||
83 | static void __init highbank_init_irq(void) | 77 | static void __init highbank_init_irq(void) |
84 | { | 78 | { |
85 | of_irq_init(irq_match); | 79 | irqchip_init(); |
86 | 80 | ||
87 | if (of_find_compatible_node(NULL, NULL, "arm,cortex-a9")) | 81 | if (of_find_compatible_node(NULL, NULL, "arm,cortex-a9")) |
88 | highbank_scu_map_io(); | 82 | highbank_scu_map_io(); |