ARM: VIC: set handle_arch_irq in VIC initialization
authorRob Herring <rob.herring@calxeda.com>
Wed, 21 Nov 2012 01:55:27 +0000 (19:55 -0600)
committerRob Herring <rob.herring@calxeda.com>
Sat, 12 Jan 2013 16:47:34 +0000 (10:47 -0600)
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>
arch/arm/common/vic.c

index eaab40ef6c5393b9601922d2135f60dfce4647f1..5feb004aaea685ac1df3f94b8157e874058882b2 100644 (file)
@@ -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);