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/sun3 | |
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/sun3')
-rw-r--r-- | arch/m68k/sun3/sun3ints.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/arch/m68k/sun3/sun3ints.c b/arch/m68k/sun3/sun3ints.c index 97fa9edc5a9d..5d45e0065d2e 100644 --- a/arch/m68k/sun3/sun3ints.c +++ b/arch/m68k/sun3/sun3ints.c | |||
@@ -86,12 +86,22 @@ static void sun3_inthandle(unsigned int irq, struct pt_regs *fp) | |||
86 | __m68k_handle_int(irq, fp); | 86 | __m68k_handle_int(irq, fp); |
87 | } | 87 | } |
88 | 88 | ||
89 | static void sun3_irq_enable(struct irq_data *data) | ||
90 | { | ||
91 | sun3_enable_irq(data->irq); | ||
92 | }; | ||
93 | |||
94 | static void sun3_irq_disable(struct irq_data *data) | ||
95 | { | ||
96 | sun3_disable_irq(data->irq); | ||
97 | }; | ||
98 | |||
89 | static struct irq_chip sun3_irq_chip = { | 99 | static struct irq_chip sun3_irq_chip = { |
90 | .name = "sun3", | 100 | .name = "sun3", |
91 | .irq_startup = m68k_irq_startup, | 101 | .irq_startup = m68k_irq_startup, |
92 | .irq_shutdown = m68k_irq_shutdown, | 102 | .irq_shutdown = m68k_irq_shutdown, |
93 | .irq_enable = sun3_enable_irq, | 103 | .irq_enable = sun3_irq_enable, |
94 | .irq_disable = sun3_disable_irq, | 104 | .irq_disable = sun3_irq_disable, |
95 | }; | 105 | }; |
96 | 106 | ||
97 | void __init sun3_init_IRQ(void) | 107 | void __init sun3_init_IRQ(void) |