Skip to content

Commit

Permalink
ARM: VIC: set handle_arch_irq in VIC initialization
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rob Herring committed Jan 12, 2013
1 parent cf21af5 commit 7fb7d8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/common/vic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7fb7d8a

Please sign in to comment.