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>
This commit is contained in:
Rob Herring 2012-11-20 19:55:27 -06:00
parent cf21af5458
commit 7fb7d8ae10
1 changed files with 1 additions and 0 deletions

View File

@ -235,6 +235,7 @@ static void __init vic_register(void __iomem *base, unsigned int irq,
v->valid_sources = valid_sources; v->valid_sources = valid_sources;
v->resume_sources = resume_sources; v->resume_sources = resume_sources;
v->irq = irq; v->irq = irq;
set_handle_irq(vic_handle_irq);
vic_id++; vic_id++;
v->domain = irq_domain_add_simple(node, fls(valid_sources), irq, v->domain = irq_domain_add_simple(node, fls(valid_sources), irq,
&vic_irqdomain_ops, v); &vic_irqdomain_ops, v);