diff options
Diffstat (limited to 'arch/arm/mach-vexpress/v2m.c')
| -rw-r--r-- | arch/arm/mach-vexpress/v2m.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/arch/arm/mach-vexpress/v2m.c b/arch/arm/mach-vexpress/v2m.c index 08bd548ef144..915683cb67d6 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> |
| @@ -373,7 +373,6 @@ MACHINE_START(VEXPRESS, "ARM-Versatile Express") | |||
| 373 | .init_early = v2m_init_early, | 373 | .init_early = v2m_init_early, |
| 374 | .init_irq = v2m_init_irq, | 374 | .init_irq = v2m_init_irq, |
| 375 | .init_time = v2m_timer_init, | 375 | .init_time = v2m_timer_init, |
| 376 | .handle_irq = gic_handle_irq, | ||
| 377 | .init_machine = v2m_init, | 376 | .init_machine = v2m_init, |
| 378 | .restart = vexpress_restart, | 377 | .restart = vexpress_restart, |
| 379 | MACHINE_END | 378 | MACHINE_END |
| @@ -430,16 +429,6 @@ void __init v2m_dt_init_early(void) | |||
| 430 | } | 429 | } |
| 431 | } | 430 | } |
| 432 | 431 | ||
| 433 | static struct of_device_id vexpress_irq_match[] __initdata = { | ||
| 434 | { .compatible = "arm,cortex-a9-gic", .data = gic_of_init, }, | ||
| 435 | {} | ||
| 436 | }; | ||
| 437 | |||
| 438 | static void __init v2m_dt_init_irq(void) | ||
| 439 | { | ||
| 440 | of_irq_init(vexpress_irq_match); | ||
| 441 | } | ||
| 442 | |||
| 443 | static void __init v2m_dt_timer_init(void) | 432 | static void __init v2m_dt_timer_init(void) |
| 444 | { | 433 | { |
| 445 | struct device_node *node = NULL; | 434 | struct device_node *node = NULL; |
| @@ -489,9 +478,8 @@ DT_MACHINE_START(VEXPRESS_DT, "ARM-Versatile Express") | |||
| 489 | .smp = smp_ops(vexpress_smp_ops), | 478 | .smp = smp_ops(vexpress_smp_ops), |
| 490 | .map_io = v2m_dt_map_io, | 479 | .map_io = v2m_dt_map_io, |
| 491 | .init_early = v2m_dt_init_early, | 480 | .init_early = v2m_dt_init_early, |
| 492 | .init_irq = v2m_dt_init_irq, | 481 | .init_irq = irqchip_init, |
| 493 | .init_time = v2m_dt_timer_init, | 482 | .init_time = v2m_dt_timer_init, |
| 494 | .init_machine = v2m_dt_init, | 483 | .init_machine = v2m_dt_init, |
| 495 | .handle_irq = gic_handle_irq, | ||
| 496 | .restart = vexpress_restart, | 484 | .restart = vexpress_restart, |
| 497 | MACHINE_END | 485 | MACHINE_END |
