diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2006-07-01 17:32:41 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-07-01 17:32:41 -0400 |
commit | 418ca1f0a0d3405c5f674d005363ab1ef850c367 (patch) | |
tree | 9c071049c06187d498df58ee88e6ee8e1e6b7356 | |
parent | c75c625df7e2395d09a1aa33cdc2212d75928de6 (diff) |
[ARM] 3701/1: ARM: Convert plat-omap to generic irq handling
Patch from Thomas Gleixner
From: Thomas Gleixner <tglx@linutronix.de>
Fixup the conversion to generic irq subsystem.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | arch/arm/plat-omap/dma.c | 2 | ||||
-rw-r--r-- | arch/arm/plat-omap/gpio.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/plat-omap/dma.c index 5dac4230360d..2525633fcd09 100644 --- a/arch/arm/plat-omap/dma.c +++ b/arch/arm/plat-omap/dma.c | |||
@@ -24,9 +24,9 @@ | |||
24 | #include <linux/spinlock.h> | 24 | #include <linux/spinlock.h> |
25 | #include <linux/errno.h> | 25 | #include <linux/errno.h> |
26 | #include <linux/interrupt.h> | 26 | #include <linux/interrupt.h> |
27 | #include <linux/irq.h> | ||
27 | 28 | ||
28 | #include <asm/system.h> | 29 | #include <asm/system.h> |
29 | #include <asm/irq.h> | ||
30 | #include <asm/hardware.h> | 30 | #include <asm/hardware.h> |
31 | #include <asm/dma.h> | 31 | #include <asm/dma.h> |
32 | #include <asm/io.h> | 32 | #include <asm/io.h> |
diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c index 418b88fbea8e..312ace515d17 100644 --- a/arch/arm/plat-omap/gpio.c +++ b/arch/arm/plat-omap/gpio.c | |||
@@ -738,7 +738,7 @@ static void gpio_irq_handler(unsigned int irq, struct irqdesc *desc, | |||
738 | 738 | ||
739 | desc->chip->ack(irq); | 739 | desc->chip->ack(irq); |
740 | 740 | ||
741 | bank = (struct gpio_bank *) desc->data; | 741 | bank = get_irq_data(irq); |
742 | if (bank->method == METHOD_MPUIO) | 742 | if (bank->method == METHOD_MPUIO) |
743 | isr_reg = bank->base + OMAP_MPUIO_GPIO_INT; | 743 | isr_reg = bank->base + OMAP_MPUIO_GPIO_INT; |
744 | #ifdef CONFIG_ARCH_OMAP15XX | 744 | #ifdef CONFIG_ARCH_OMAP15XX |