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/include/asm/irq.h | |
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/include/asm/irq.h')
-rw-r--r-- | arch/m68k/include/asm/irq.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/irq.h b/arch/m68k/include/asm/irq.h index 423f064955f2..d0b7efd1f1e2 100644 --- a/arch/m68k/include/asm/irq.h +++ b/arch/m68k/include/asm/irq.h | |||
@@ -115,6 +115,8 @@ extern void m68k_setup_auto_interrupt(void (*handler)(unsigned int, struct pt_re | |||
115 | extern void m68k_setup_user_interrupt(unsigned int vec, unsigned int cnt, | 115 | extern void m68k_setup_user_interrupt(unsigned int vec, unsigned int cnt, |
116 | void (*handler)(unsigned int, struct pt_regs *)); | 116 | void (*handler)(unsigned int, struct pt_regs *)); |
117 | extern void m68k_setup_irq_chip(struct irq_chip *, unsigned int, unsigned int); | 117 | extern void m68k_setup_irq_chip(struct irq_chip *, unsigned int, unsigned int); |
118 | #define m68k_setup_irq_controller(chip, dummy, irq, cnt) \ | ||
119 | m68k_setup_irq_chip((chip), (irq), (cnt)) | ||
118 | 120 | ||
119 | asmlinkage void m68k_handle_int(unsigned int); | 121 | asmlinkage void m68k_handle_int(unsigned int); |
120 | asmlinkage void __m68k_handle_int(unsigned int, struct pt_regs *); | 122 | asmlinkage void __m68k_handle_int(unsigned int, struct pt_regs *); |