aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-prima2/common.c
diff options
context:
space:
mode:
authorBarry Song <Baohua.Song@csr.com>2012-12-20 06:11:18 -0500
committerBarry Song <Barry.Song@csr.com>2013-01-22 06:39:14 -0500
commitf2a94192d953990c5c928f52dd4122a67f93b980 (patch)
tree77bf983dc45303a627cc342939c5eee3d00087c3 /arch/arm/mach-prima2/common.c
parent598548facd3c55d1da230a2cc0e6026053b04594 (diff)
ARM: PRIMA2: irq: make prima2 irq can work even we enable GIC for Marco
in Marco, we will use GIC. this patch prepares the handle_irq for prima2 to avoid the compiling errors since we want only one defconfig and zImage for both prima2 and marco that means we will need handle_irq for both. Signed-off-by: Baohua Song <Baohua.Song@csr.com>
Diffstat (limited to 'arch/arm/mach-prima2/common.c')
-rw-r--r--arch/arm/mach-prima2/common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-prima2/common.c b/arch/arm/mach-prima2/common.c
index 8e6f6681b546..99f9c7e391f5 100644
--- a/arch/arm/mach-prima2/common.c
+++ b/arch/arm/mach-prima2/common.c
@@ -41,6 +41,9 @@ DT_MACHINE_START(PRIMA2_DT, "Generic PRIMA2 (Flattened Device Tree)")
41 .map_io = sirfsoc_map_lluart, 41 .map_io = sirfsoc_map_lluart,
42 .init_irq = sirfsoc_of_irq_init, 42 .init_irq = sirfsoc_of_irq_init,
43 .init_time = sirfsoc_prima2_timer_init, 43 .init_time = sirfsoc_prima2_timer_init,
44#ifdef CONFIG_MULTI_IRQ_HANDLER
45 .handle_irq = sirfsoc_handle_irq,
46#endif
44 .dma_zone_size = SZ_256M, 47 .dma_zone_size = SZ_256M,
45 .init_machine = sirfsoc_mach_init, 48 .init_machine = sirfsoc_mach_init,
46 .init_late = sirfsoc_init_late, 49 .init_late = sirfsoc_init_late,