diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-11-23 06:41:32 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-11-30 07:24:47 -0500 |
commit | 10dd5ce28d78e2440e8fa1135d17e33399d75340 (patch) | |
tree | d2e76765a57e7e47a9c424f99c3a22bf99c6da64 /arch/arm/mach-imx | |
parent | 127e477e0cd8da4d3058709ab2dc7b92dccbcba5 (diff) |
[ARM] Remove compatibility layer for ARM irqs
set_irq_chipdata -> set_irq_chip_data
get_irq_chipdata -> get_irq_chip_data
do_level_IRQ -> handle_level_irq
do_edge_IRQ -> handle_edge_irq
do_simple_IRQ -> handle_simple_irq
irqdesc -> irq_desc
irqchip -> irq_chip
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r-- | arch/arm/mach-imx/irq.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/mach-imx/irq.c b/arch/arm/mach-imx/irq.c index 368b13b058ab..0791b56caecc 100644 --- a/arch/arm/mach-imx/irq.c +++ b/arch/arm/mach-imx/irq.c | |||
@@ -146,7 +146,7 @@ imx_gpio_unmask_irq(unsigned int irq) | |||
146 | 146 | ||
147 | static void | 147 | static void |
148 | imx_gpio_handler(unsigned int mask, unsigned int irq, | 148 | imx_gpio_handler(unsigned int mask, unsigned int irq, |
149 | struct irqdesc *desc) | 149 | struct irq_desc *desc) |
150 | { | 150 | { |
151 | desc = irq_desc + irq; | 151 | desc = irq_desc + irq; |
152 | while (mask) { | 152 | while (mask) { |
@@ -161,7 +161,7 @@ imx_gpio_handler(unsigned int mask, unsigned int irq, | |||
161 | } | 161 | } |
162 | 162 | ||
163 | static void | 163 | static void |
164 | imx_gpioa_demux_handler(unsigned int irq_unused, struct irqdesc *desc) | 164 | imx_gpioa_demux_handler(unsigned int irq_unused, struct irq_desc *desc) |
165 | { | 165 | { |
166 | unsigned int mask, irq; | 166 | unsigned int mask, irq; |
167 | 167 | ||
@@ -171,7 +171,7 @@ imx_gpioa_demux_handler(unsigned int irq_unused, struct irqdesc *desc) | |||
171 | } | 171 | } |
172 | 172 | ||
173 | static void | 173 | static void |
174 | imx_gpiob_demux_handler(unsigned int irq_unused, struct irqdesc *desc) | 174 | imx_gpiob_demux_handler(unsigned int irq_unused, struct irq_desc *desc) |
175 | { | 175 | { |
176 | unsigned int mask, irq; | 176 | unsigned int mask, irq; |
177 | 177 | ||
@@ -181,7 +181,7 @@ imx_gpiob_demux_handler(unsigned int irq_unused, struct irqdesc *desc) | |||
181 | } | 181 | } |
182 | 182 | ||
183 | static void | 183 | static void |
184 | imx_gpioc_demux_handler(unsigned int irq_unused, struct irqdesc *desc) | 184 | imx_gpioc_demux_handler(unsigned int irq_unused, struct irq_desc *desc) |
185 | { | 185 | { |
186 | unsigned int mask, irq; | 186 | unsigned int mask, irq; |
187 | 187 | ||
@@ -191,7 +191,7 @@ imx_gpioc_demux_handler(unsigned int irq_unused, struct irqdesc *desc) | |||
191 | } | 191 | } |
192 | 192 | ||
193 | static void | 193 | static void |
194 | imx_gpiod_demux_handler(unsigned int irq_unused, struct irqdesc *desc) | 194 | imx_gpiod_demux_handler(unsigned int irq_unused, struct irq_desc *desc) |
195 | { | 195 | { |
196 | unsigned int mask, irq; | 196 | unsigned int mask, irq; |
197 | 197 | ||
@@ -230,13 +230,13 @@ imx_init_irq(void) | |||
230 | 230 | ||
231 | for (irq = 0; irq < IMX_IRQS; irq++) { | 231 | for (irq = 0; irq < IMX_IRQS; irq++) { |
232 | set_irq_chip(irq, &imx_internal_chip); | 232 | set_irq_chip(irq, &imx_internal_chip); |
233 | set_irq_handler(irq, do_level_IRQ); | 233 | set_irq_handler(irq, handle_level_irq); |
234 | set_irq_flags(irq, IRQF_VALID); | 234 | set_irq_flags(irq, IRQF_VALID); |
235 | } | 235 | } |
236 | 236 | ||
237 | for (irq = IRQ_GPIOA(0); irq < IRQ_GPIOD(32); irq++) { | 237 | for (irq = IRQ_GPIOA(0); irq < IRQ_GPIOD(32); irq++) { |
238 | set_irq_chip(irq, &imx_gpio_chip); | 238 | set_irq_chip(irq, &imx_gpio_chip); |
239 | set_irq_handler(irq, do_edge_IRQ); | 239 | set_irq_handler(irq, handle_edge_irq); |
240 | set_irq_flags(irq, IRQF_VALID); | 240 | set_irq_flags(irq, IRQF_VALID); |
241 | } | 241 | } |
242 | 242 | ||