diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-06-01 05:15:21 -0400 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-11-08 16:35:48 -0500 |
commit | edb347256c44366888debb4f9e8477ac700a9026 (patch) | |
tree | ba8a08d33f17d5679e9cbae45f73cca85c2f61c6 /arch/m68k/apollo | |
parent | 40a72c8f711bdf8ae3e4f945261ced5432dcac4d (diff) |
m68k/irq: Add m68k_setup_irq_controller()
This is a wrapper around m68k_setup_irq_chip() that discards its dummy
second parameter, to ease the future transition to genirq.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/apollo')
-rw-r--r-- | arch/m68k/apollo/dn_ints.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/m68k/apollo/dn_ints.c b/arch/m68k/apollo/dn_ints.c index 2bdab498b6c1..bdc44282fdba 100644 --- a/arch/m68k/apollo/dn_ints.c +++ b/arch/m68k/apollo/dn_ints.c | |||
@@ -43,5 +43,6 @@ static struct irq_chip apollo_irq_chip = { | |||
43 | void __init dn_init_IRQ(void) | 43 | void __init dn_init_IRQ(void) |
44 | { | 44 | { |
45 | m68k_setup_user_interrupt(VEC_USER + 96, 16, dn_process_int); | 45 | m68k_setup_user_interrupt(VEC_USER + 96, 16, dn_process_int); |
46 | m68k_setup_irq_chip(&apollo_irq_chip, IRQ_APOLLO, 16); | 46 | m68k_setup_irq_controller(&apollo_irq_chip, handle_simple_irq, |
47 | IRQ_APOLLO, 16); | ||
47 | } | 48 | } |