Commit 7fb7d8ae authored by Rob Herring's avatar Rob Herring

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: default avatarRob Herring <rob.herring@calxeda.com>
Acked-by: default avatarOlof Johansson <olof@lixom.net>
parent cf21af54
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment