summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-prima2/irq.c
diff options
context:
space:
mode:
authorBarry Song <Baohua.Song@csr.com>2012-08-23 13:41:59 +0800
committerBarry Song <Barry.Song@csr.com>2012-08-28 17:06:10 +0800
commitc1e3c1196be37acaea95803043bc1055ea5131ac (patch)
tree51312f4cb63ced129b9050a1039d24b072e7d5c0 /arch/arm/mach-prima2/irq.c
parent156a09979710f260f4482961869d6260148341e9 (diff)
downloadop-kernel-dev-c1e3c1196be37acaea95803043bc1055ea5131ac.zip
op-kernel-dev-c1e3c1196be37acaea95803043bc1055ea5131ac.tar.gz
ARM: SIRF: make sirf irqchip driver optional since new SoCs will have GIC
New MARCO and POLO SoC use GIC, so make irq.c optional and enable it only if we enable ARCH_PRIMA2 in Kconfig Signed-off-by: Barry Song <Baohua.Song@csr.com>
Diffstat (limited to 'arch/arm/mach-prima2/irq.c')
-rw-r--r--arch/arm/mach-prima2/irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-prima2/irq.c b/arch/arm/mach-prima2/irq.c
index a7b9415..7dee917 100644
--- a/arch/arm/mach-prima2/irq.c
+++ b/arch/arm/mach-prima2/irq.c
@@ -63,7 +63,7 @@ void __init sirfsoc_of_irq_init(void)
np = of_find_matching_node(NULL, intc_ids);
if (!np)
- panic("unable to find compatible intc node in dtb\n");
+ return;
sirfsoc_intc_base = of_iomap(np, 0);
if (!sirfsoc_intc_base)
OpenPOWER on IntegriCloud