diff options
Diffstat (limited to 'arch/arm/mach-imx/mach-imx6q.c')
-rw-r--r-- | arch/arm/mach-imx/mach-imx6q.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c index 1fbf9a133980..724bfeb8f88b 100644 --- a/arch/arm/mach-imx/mach-imx6q.c +++ b/arch/arm/mach-imx/mach-imx6q.c | |||
@@ -18,6 +18,7 @@ | |||
18 | #include <linux/init.h> | 18 | #include <linux/init.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/of.h> | 22 | #include <linux/of.h> |
22 | #include <linux/of_address.h> | 23 | #include <linux/of_address.h> |
23 | #include <linux/of_irq.h> | 24 | #include <linux/of_irq.h> |
@@ -29,7 +30,6 @@ | |||
29 | #include <asm/cpuidle.h> | 30 | #include <asm/cpuidle.h> |
30 | #include <asm/smp_twd.h> | 31 | #include <asm/smp_twd.h> |
31 | #include <asm/hardware/cache-l2x0.h> | 32 | #include <asm/hardware/cache-l2x0.h> |
32 | #include <asm/hardware/gic.h> | ||
33 | #include <asm/mach/arch.h> | 33 | #include <asm/mach/arch.h> |
34 | #include <asm/mach/time.h> | 34 | #include <asm/mach/time.h> |
35 | #include <asm/system_misc.h> | 35 | #include <asm/system_misc.h> |
@@ -221,17 +221,12 @@ static void __init imx6q_map_io(void) | |||
221 | imx6q_clock_map_io(); | 221 | imx6q_clock_map_io(); |
222 | } | 222 | } |
223 | 223 | ||
224 | static const struct of_device_id imx6q_irq_match[] __initconst = { | ||
225 | { .compatible = "arm,cortex-a9-gic", .data = gic_of_init, }, | ||
226 | { /* sentinel */ } | ||
227 | }; | ||
228 | |||
229 | static void __init imx6q_init_irq(void) | 224 | static void __init imx6q_init_irq(void) |
230 | { | 225 | { |
231 | l2x0_of_init(0, ~0UL); | 226 | l2x0_of_init(0, ~0UL); |
232 | imx_src_init(); | 227 | imx_src_init(); |
233 | imx_gpc_init(); | 228 | imx_gpc_init(); |
234 | of_irq_init(imx6q_irq_match); | 229 | irqchip_init(); |
235 | } | 230 | } |
236 | 231 | ||
237 | static void __init imx6q_timer_init(void) | 232 | static void __init imx6q_timer_init(void) |