diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-04-17 16:53:04 -0400 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-11-08 16:35:47 -0500 |
commit | e8abf5e73cdb6c034d35ccba1f63a4801cd3dec5 (patch) | |
tree | 170de6cb1d0048757b2ab55b2a0bfeb87d274fd4 /arch/m68k/mac/macints.c | |
parent | 6549d537922da6a6893e9bc1be9c2b89db663719 (diff) |
m68k/irq: Switch irq_chip methods to "struct irq_data *data"
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/m68k/mac/macints.c')
-rw-r--r-- | arch/m68k/mac/macints.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/arch/m68k/mac/macints.c b/arch/m68k/mac/macints.c index ffa1b3f7e2b7..3cee6d29cc5d 100644 --- a/arch/m68k/mac/macints.c +++ b/arch/m68k/mac/macints.c | |||
@@ -193,10 +193,20 @@ irqreturn_t mac_debug_handler(int, void *); | |||
193 | void mac_enable_irq(unsigned int irq); | 193 | void mac_enable_irq(unsigned int irq); |
194 | void mac_disable_irq(unsigned int irq); | 194 | void mac_disable_irq(unsigned int irq); |
195 | 195 | ||
196 | static void mac_irq_enable(struct irq_data *data) | ||
197 | { | ||
198 | mac_enable_irq(data->irq); | ||
199 | } | ||
200 | |||
201 | static void mac_irq_disable(struct irq_data *data) | ||
202 | { | ||
203 | mac_disable_irq(data->irq); | ||
204 | } | ||
205 | |||
196 | static struct irq_chip mac_irq_chip = { | 206 | static struct irq_chip mac_irq_chip = { |
197 | .name = "mac", | 207 | .name = "mac", |
198 | .irq_enable = mac_enable_irq, | 208 | .irq_enable = mac_irq_enable, |
199 | .irq_disable = mac_disable_irq, | 209 | .irq_disable = mac_irq_disable, |
200 | }; | 210 | }; |
201 | 211 | ||
202 | void __init mac_init_IRQ(void) | 212 | void __init mac_init_IRQ(void) |