diff options
Diffstat (limited to 'arch/arm/mach-at91rm9200/gpio.c')
-rw-r--r-- | arch/arm/mach-at91rm9200/gpio.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-at91rm9200/gpio.c b/arch/arm/mach-at91rm9200/gpio.c index 7467d644f0a3..cec3862651d0 100644 --- a/arch/arm/mach-at91rm9200/gpio.c +++ b/arch/arm/mach-at91rm9200/gpio.c | |||
@@ -332,10 +332,10 @@ static struct irq_chip gpio_irqchip = { | |||
332 | .set_wake = gpio_irq_set_wake, | 332 | .set_wake = gpio_irq_set_wake, |
333 | }; | 333 | }; |
334 | 334 | ||
335 | static void gpio_irq_handler(unsigned irq, struct irqdesc *desc) | 335 | static void gpio_irq_handler(unsigned irq, struct irq_desc *desc) |
336 | { | 336 | { |
337 | unsigned pin; | 337 | unsigned pin; |
338 | struct irqdesc *gpio; | 338 | struct irq_desc *gpio; |
339 | void __iomem *pio; | 339 | void __iomem *pio; |
340 | u32 isr; | 340 | u32 isr; |
341 | 341 | ||
@@ -396,7 +396,7 @@ void __init at91_gpio_irq_setup(void) | |||
396 | __raw_writel(~0, controller + PIO_IDR); | 396 | __raw_writel(~0, controller + PIO_IDR); |
397 | 397 | ||
398 | set_irq_data(id, (void *) pin); | 398 | set_irq_data(id, (void *) pin); |
399 | set_irq_chipdata(id, controller); | 399 | set_irq_chip_data(id, controller); |
400 | 400 | ||
401 | for (i = 0; i < 32; i++, pin++) { | 401 | for (i = 0; i < 32; i++, pin++) { |
402 | /* | 402 | /* |
@@ -404,7 +404,7 @@ void __init at91_gpio_irq_setup(void) | |||
404 | * shorter, and the AIC handles interupts sanely. | 404 | * shorter, and the AIC handles interupts sanely. |
405 | */ | 405 | */ |
406 | set_irq_chip(pin, &gpio_irqchip); | 406 | set_irq_chip(pin, &gpio_irqchip); |
407 | set_irq_handler(pin, do_simple_IRQ); | 407 | set_irq_handler(pin, handle_simple_irq); |
408 | set_irq_flags(pin, IRQF_VALID); | 408 | set_irq_flags(pin, IRQF_VALID); |
409 | } | 409 | } |
410 | 410 | ||