diff options
Diffstat (limited to 'arch/arm/mach-lpc32xx')
-rw-r--r-- | arch/arm/mach-lpc32xx/irq.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-lpc32xx/irq.c b/arch/arm/mach-lpc32xx/irq.c index d4f7dc87042b..73626f9f52a6 100644 --- a/arch/arm/mach-lpc32xx/irq.c +++ b/arch/arm/mach-lpc32xx/irq.c | |||
@@ -283,25 +283,25 @@ static int lpc32xx_set_irq_type(struct irq_data *d, unsigned int type) | |||
283 | case IRQ_TYPE_EDGE_RISING: | 283 | case IRQ_TYPE_EDGE_RISING: |
284 | /* Rising edge sensitive */ | 284 | /* Rising edge sensitive */ |
285 | __lpc32xx_set_irq_type(d->hwirq, 1, 1); | 285 | __lpc32xx_set_irq_type(d->hwirq, 1, 1); |
286 | __irq_set_handler_locked(d->irq, handle_edge_irq); | 286 | irq_set_handler_locked(d, handle_edge_irq); |
287 | break; | 287 | break; |
288 | 288 | ||
289 | case IRQ_TYPE_EDGE_FALLING: | 289 | case IRQ_TYPE_EDGE_FALLING: |
290 | /* Falling edge sensitive */ | 290 | /* Falling edge sensitive */ |
291 | __lpc32xx_set_irq_type(d->hwirq, 0, 1); | 291 | __lpc32xx_set_irq_type(d->hwirq, 0, 1); |
292 | __irq_set_handler_locked(d->irq, handle_edge_irq); | 292 | irq_set_handler_locked(d, handle_edge_irq); |
293 | break; | 293 | break; |
294 | 294 | ||
295 | case IRQ_TYPE_LEVEL_LOW: | 295 | case IRQ_TYPE_LEVEL_LOW: |
296 | /* Low level sensitive */ | 296 | /* Low level sensitive */ |
297 | __lpc32xx_set_irq_type(d->hwirq, 0, 0); | 297 | __lpc32xx_set_irq_type(d->hwirq, 0, 0); |
298 | __irq_set_handler_locked(d->irq, handle_level_irq); | 298 | irq_set_handler_locked(d, handle_level_irq); |
299 | break; | 299 | break; |
300 | 300 | ||
301 | case IRQ_TYPE_LEVEL_HIGH: | 301 | case IRQ_TYPE_LEVEL_HIGH: |
302 | /* High level sensitive */ | 302 | /* High level sensitive */ |
303 | __lpc32xx_set_irq_type(d->hwirq, 1, 0); | 303 | __lpc32xx_set_irq_type(d->hwirq, 1, 0); |
304 | __irq_set_handler_locked(d->irq, handle_level_irq); | 304 | irq_set_handler_locked(d, handle_level_irq); |
305 | break; | 305 | break; |
306 | 306 | ||
307 | /* Other modes are not supported */ | 307 | /* Other modes are not supported */ |