summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-11-20 19:55:27 -0600
committerRob Herring <rob.herring@calxeda.com>2013-01-12 10:47:34 -0600
commit7fb7d8ae1036f1002fe8b16c15cc26d32046df64 (patch)
tree9fab4fae7269151622f388d990b9cd3a6c0ed420
parentcf21af5458cafc3c1bd2864e6f789de32ba778f6 (diff)
downloadlinux-7fb7d8ae1036f1002fe8b16c15cc26d32046df64.tar.bz2
ARM: VIC: set handle_arch_irq in VIC initialization
Set handle_arch_irq to vic_handle_irq. Only the first VIC initialized can setup the handler. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Acked-by: Olof Johansson <olof@lixom.net>
-rw-r--r--arch/arm/common/vic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/common/vic.c b/arch/arm/common/vic.c
index eaab40ef6c53..5feb004aaea6 100644
--- a/arch/arm/common/vic.c
+++ b/arch/arm/common/vic.c
@@ -235,6 +235,7 @@ static void __init vic_register(void __iomem *base, unsigned int irq,
v->valid_sources = valid_sources;
v->resume_sources = resume_sources;
v->irq = irq;
+ set_handle_irq(vic_handle_irq);
vic_id++;
v->domain = irq_domain_add_simple(node, fls(valid_sources), irq,
&vic_irqdomain_ops, v);