diff options
author | Rob Herring <rob.herring@calxeda.com> | 2012-11-05 17:18:28 -0500 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2013-01-12 11:47:32 -0500 |
commit | 0529e315bbda5d502c93df2cfafba9bb337fbdf4 (patch) | |
tree | 461bf1c88c60e294e598eaa52d9b0b46b4ffd3ba /arch/arm/mach-msm/board-dt-8660.c | |
parent | 81243e444c6e9d1625073e4a3d3bc244c8a545f0 (diff) |
ARM: use common irqchip_init for GIC init
Convert all GIC DT initialization over to use common irqchip_init
function.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Kukjin Kim <kgene.kim@samsung.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: David Brown <davidb@codeaurora.org>
Cc: Daniel Walker <dwalker@fifo99.com>
Cc: Bryan Huntsman <bryanh@codeaurora.org>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Magnus Damm <magnus.damm@gmail.com>
Cc: Dinh Nguyen <dinguyen@altera.com>
Cc: Viresh Kumar <viresh.linux@gmail.com>
Cc: Shiraz Hashim <shiraz.hashim@st.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-msm/board-dt-8660.c')
-rw-r--r-- | arch/arm/mach-msm/board-dt-8660.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/arch/arm/mach-msm/board-dt-8660.c b/arch/arm/mach-msm/board-dt-8660.c index bd4062f9a623..c111cec64338 100644 --- a/arch/arm/mach-msm/board-dt-8660.c +++ b/arch/arm/mach-msm/board-dt-8660.c | |||
@@ -11,26 +11,15 @@ | |||
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include <linux/init.h> | 13 | #include <linux/init.h> |
14 | #include <linux/irqchip.h> | ||
14 | #include <linux/of.h> | 15 | #include <linux/of.h> |
15 | #include <linux/of_irq.h> | ||
16 | #include <linux/of_platform.h> | 16 | #include <linux/of_platform.h> |
17 | 17 | ||
18 | #include <asm/mach/arch.h> | 18 | #include <asm/mach/arch.h> |
19 | #include <asm/hardware/gic.h> | ||
20 | 19 | ||
21 | #include <mach/board.h> | 20 | #include <mach/board.h> |
22 | #include "common.h" | 21 | #include "common.h" |
23 | 22 | ||
24 | static const struct of_device_id msm_dt_gic_match[] __initconst = { | ||
25 | { .compatible = "qcom,msm-8660-qgic", .data = gic_of_init }, | ||
26 | {} | ||
27 | }; | ||
28 | |||
29 | static void __init msm8x60_init_irq(void) | ||
30 | { | ||
31 | of_irq_init(msm_dt_gic_match); | ||
32 | } | ||
33 | |||
34 | static void __init msm8x60_init_late(void) | 23 | static void __init msm8x60_init_late(void) |
35 | { | 24 | { |
36 | smd_debugfs_init(); | 25 | smd_debugfs_init(); |
@@ -55,7 +44,7 @@ static const char *msm8x60_fluid_match[] __initdata = { | |||
55 | DT_MACHINE_START(MSM_DT, "Qualcomm MSM (Flattened Device Tree)") | 44 | DT_MACHINE_START(MSM_DT, "Qualcomm MSM (Flattened Device Tree)") |
56 | .smp = smp_ops(msm_smp_ops), | 45 | .smp = smp_ops(msm_smp_ops), |
57 | .map_io = msm_map_msm8x60_io, | 46 | .map_io = msm_map_msm8x60_io, |
58 | .init_irq = msm8x60_init_irq, | 47 | .init_irq = irqchip_init, |
59 | .init_machine = msm8x60_dt_init, | 48 | .init_machine = msm8x60_dt_init, |
60 | .init_late = msm8x60_init_late, | 49 | .init_late = msm8x60_init_late, |
61 | .timer = &msm_dt_timer, | 50 | .timer = &msm_dt_timer, |