diff options
Diffstat (limited to 'arch/arm/mach-vexpress/v2m.c')
-rw-r--r-- | arch/arm/mach-vexpress/v2m.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/arch/arm/mach-vexpress/v2m.c b/arch/arm/mach-vexpress/v2m.c index 557d361022a6..82be02b3ae28 100644 --- a/arch/arm/mach-vexpress/v2m.c +++ b/arch/arm/mach-vexpress/v2m.c | |||
@@ -7,6 +7,7 @@ | |||
7 | #include <linux/io.h> | 7 | #include <linux/io.h> |
8 | #include <linux/smp.h> | 8 | #include <linux/smp.h> |
9 | #include <linux/init.h> | 9 | #include <linux/init.h> |
10 | #include <linux/irqchip.h> | ||
10 | #include <linux/of_address.h> | 11 | #include <linux/of_address.h> |
11 | #include <linux/of_fdt.h> | 12 | #include <linux/of_fdt.h> |
12 | #include <linux/of_irq.h> | 13 | #include <linux/of_irq.h> |
@@ -30,7 +31,6 @@ | |||
30 | #include <asm/mach/time.h> | 31 | #include <asm/mach/time.h> |
31 | #include <asm/hardware/arm_timer.h> | 32 | #include <asm/hardware/arm_timer.h> |
32 | #include <asm/hardware/cache-l2x0.h> | 33 | #include <asm/hardware/cache-l2x0.h> |
33 | #include <asm/hardware/gic.h> | ||
34 | #include <asm/hardware/timer-sp.h> | 34 | #include <asm/hardware/timer-sp.h> |
35 | 35 | ||
36 | #include <mach/ct-ca9x4.h> | 36 | #include <mach/ct-ca9x4.h> |
@@ -433,16 +433,6 @@ void __init v2m_dt_init_early(void) | |||
433 | } | 433 | } |
434 | } | 434 | } |
435 | 435 | ||
436 | static struct of_device_id vexpress_irq_match[] __initdata = { | ||
437 | { .compatible = "arm,cortex-a9-gic", .data = gic_of_init, }, | ||
438 | {} | ||
439 | }; | ||
440 | |||
441 | static void __init v2m_dt_init_irq(void) | ||
442 | { | ||
443 | of_irq_init(vexpress_irq_match); | ||
444 | } | ||
445 | |||
446 | static void __init v2m_dt_timer_init(void) | 436 | static void __init v2m_dt_timer_init(void) |
447 | { | 437 | { |
448 | struct device_node *node = NULL; | 438 | struct device_node *node = NULL; |
@@ -496,7 +486,7 @@ DT_MACHINE_START(VEXPRESS_DT, "ARM-Versatile Express") | |||
496 | .smp = smp_ops(vexpress_smp_ops), | 486 | .smp = smp_ops(vexpress_smp_ops), |
497 | .map_io = v2m_dt_map_io, | 487 | .map_io = v2m_dt_map_io, |
498 | .init_early = v2m_dt_init_early, | 488 | .init_early = v2m_dt_init_early, |
499 | .init_irq = v2m_dt_init_irq, | 489 | .init_irq = irqchip_init, |
500 | .timer = &v2m_dt_timer, | 490 | .timer = &v2m_dt_timer, |
501 | .init_machine = v2m_dt_init, | 491 | .init_machine = v2m_dt_init, |
502 | .restart = vexpress_restart, | 492 | .restart = vexpress_restart, |