diff options
Diffstat (limited to 'arch/arm/mach-msm/board-dt-8960.c')
-rw-r--r-- | arch/arm/mach-msm/board-dt-8960.c | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/arch/arm/mach-msm/board-dt-8960.c b/arch/arm/mach-msm/board-dt-8960.c index 4490edb71c17..73019363ffa4 100644 --- a/arch/arm/mach-msm/board-dt-8960.c +++ b/arch/arm/mach-msm/board-dt-8960.c | |||
@@ -11,24 +11,13 @@ | |||
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include <linux/init.h> | 13 | #include <linux/init.h> |
14 | #include <linux/of_irq.h> | 14 | #include <linux/irqchip.h> |
15 | #include <linux/of_platform.h> | 15 | #include <linux/of_platform.h> |
16 | 16 | ||
17 | #include <asm/hardware/gic.h> | ||
18 | #include <asm/mach/arch.h> | 17 | #include <asm/mach/arch.h> |
19 | 18 | ||
20 | #include "common.h" | 19 | #include "common.h" |
21 | 20 | ||
22 | static const struct of_device_id msm_dt_gic_match[] __initconst = { | ||
23 | { .compatible = "qcom,msm-qgic2", .data = gic_of_init }, | ||
24 | { } | ||
25 | }; | ||
26 | |||
27 | static void __init msm_dt_init_irq(void) | ||
28 | { | ||
29 | of_irq_init(msm_dt_gic_match); | ||
30 | } | ||
31 | |||
32 | static void __init msm_dt_init(void) | 21 | static void __init msm_dt_init(void) |
33 | { | 22 | { |
34 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); | 23 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); |
@@ -42,9 +31,8 @@ static const char * const msm8960_dt_match[] __initconst = { | |||
42 | DT_MACHINE_START(MSM8960_DT, "Qualcomm MSM (Flattened Device Tree)") | 31 | DT_MACHINE_START(MSM8960_DT, "Qualcomm MSM (Flattened Device Tree)") |
43 | .smp = smp_ops(msm_smp_ops), | 32 | .smp = smp_ops(msm_smp_ops), |
44 | .map_io = msm_map_msm8960_io, | 33 | .map_io = msm_map_msm8960_io, |
45 | .init_irq = msm_dt_init_irq, | 34 | .init_irq = irqchip_init, |
46 | .timer = &msm_dt_timer, | 35 | .init_time = msm_dt_timer_init, |
47 | .init_machine = msm_dt_init, | 36 | .init_machine = msm_dt_init, |
48 | .dt_compat = msm8960_dt_match, | 37 | .dt_compat = msm8960_dt_match, |
49 | .handle_irq = gic_handle_irq, | ||
50 | MACHINE_END | 38 | MACHINE_END |