diff options
author | Barry Song <Baohua.Song@csr.com> | 2013-02-04 13:41:36 +0800 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-02-04 21:53:14 -0800 |
commit | ef4acb75a019783fc5132a5066232ef80209d7ec (patch) | |
tree | 37299084a2bd277f08d47b602d49ebdb58507c5b /arch/arm/mach-prima2/common.c | |
parent | 07e0da3dca218ff042fc9cd31cbe3636a41d183d (diff) |
ARM: MARCO: fix the build issue due to gic-vic-to-irqchip move
Fix the issue:
tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git next/soc
head: 6ed05a2aab3763b58922247543d7079106b254dc
commit: af70fdc947dbe835acc26c6ee9e8e930f38935f8 [4/8] Merge branch 'marco-timer-cleanup-rebase' of
git://gitorious.org/sirfprima2-kernel/sirfprima2-kernel into next/soc
config: make ARCH=arm prima2_defconfig
All error/warnings:
>> arch/arm/mach-prima2/platsmp.c:20:30: fatal error: asm/hardware/gic.h: No such file or directory
compilation terminated.
--
>> arch/arm/mach-prima2/common.c:15:30: fatal error: asm/hardware/gic.h: No such file or directory
compilation terminated.
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Cc: Xie ChanglongX <changlongx.xie@intel.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-prima2/common.c')
-rw-r--r-- | arch/arm/mach-prima2/common.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/arch/arm/mach-prima2/common.c b/arch/arm/mach-prima2/common.c index 00a65649a7e2..2d57aa479a7b 100644 --- a/arch/arm/mach-prima2/common.c +++ b/arch/arm/mach-prima2/common.c @@ -8,11 +8,10 @@ #include <linux/init.h> #include <linux/kernel.h> -#include <linux/of_irq.h> +#include <linux/irqchip.h> #include <asm/sizes.h> #include <asm/mach-types.h> #include <asm/mach/arch.h> -#include <asm/hardware/gic.h> #include <linux/of.h> #include <linux/of_platform.h> #include "common.h" @@ -61,16 +60,6 @@ MACHINE_END #endif #ifdef CONFIG_ARCH_MARCO -static const struct of_device_id marco_irq_match[] __initconst = { - { .compatible = "arm,cortex-a9-gic", .data = gic_of_init, }, - { /* sentinel */ } -}; - -static void __init marco_init_irq(void) -{ - of_irq_init(marco_irq_match); -} - static const char *marco_dt_match[] __initdata = { "sirf,marco", NULL @@ -80,9 +69,8 @@ DT_MACHINE_START(MARCO_DT, "Generic MARCO (Flattened Device Tree)") /* Maintainer: Barry Song <baohua.song@csr.com> */ .smp = smp_ops(sirfsoc_smp_ops), .map_io = sirfsoc_map_io, - .init_irq = marco_init_irq, + .init_irq = irqchip_init, .init_time = sirfsoc_marco_timer_init, - .handle_irq = gic_handle_irq, .init_machine = sirfsoc_mach_init, .init_late = sirfsoc_init_late, .dt_compat = marco_dt_match, |