summaryrefslogtreecommitdiffstats
path: root/arch/m68k/q40
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2011-06-01 11:15:21 +0200
committerGeert Uytterhoeven <geert@linux-m68k.org>2011-11-08 22:35:48 +0100
commitedb347256c44366888debb4f9e8477ac700a9026 (patch)
treeba8a08d33f17d5679e9cbae45f73cca85c2f61c6 /arch/m68k/q40
parent40a72c8f711bdf8ae3e4f945261ced5432dcac4d (diff)
downloadop-kernel-dev-edb347256c44366888debb4f9e8477ac700a9026.zip
op-kernel-dev-edb347256c44366888debb4f9e8477ac700a9026.tar.gz
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/q40')
-rw-r--r--arch/m68k/q40/q40ints.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/m68k/q40/q40ints.c b/arch/m68k/q40/q40ints.c
index cb245f9..a8a5ce8 100644
--- a/arch/m68k/q40/q40ints.c
+++ b/arch/m68k/q40/q40ints.c
@@ -82,7 +82,8 @@ static int disabled;
void __init q40_init_IRQ(void)
{
- m68k_setup_irq_chip(&q40_irq_chip, 1, Q40_IRQ_MAX);
+ m68k_setup_irq_controller(&q40_irq_chip, handle_simple_irq, 1,
+ Q40_IRQ_MAX);
/* setup handler for ISA ints */
m68k_setup_auto_interrupt(q40_irq_handler);
OpenPOWER on IntegriCloud