diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2008-10-09 08:36:24 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-10-09 10:00:36 -0400 |
commit | d8aa0251f12546e9bd1e9ee1d9782d6492819a04 (patch) | |
tree | 7be5c9d598bc727bfcc0f04f679f972c68ca346f /arch/arm/mach-imx | |
parent | 27c4cae28148ad97baa2bf8275f7ebc9e2c37c34 (diff) |
[ARM] 5298/1: Drop desc_handle_irq()
desc_handle_irq() was declared as obsolete since long ago.
Replace it with generic_handle_irq()
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
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 | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-imx/irq.c b/arch/arm/mach-imx/irq.c index 798f221eb3b7..cbdd7d1dac92 100644 --- a/arch/arm/mach-imx/irq.c +++ b/arch/arm/mach-imx/irq.c | |||
@@ -182,14 +182,12 @@ static void | |||
182 | imx_gpio_handler(unsigned int mask, unsigned int irq, | 182 | imx_gpio_handler(unsigned int mask, unsigned int irq, |
183 | struct irq_desc *desc) | 183 | struct irq_desc *desc) |
184 | { | 184 | { |
185 | desc = irq_desc + irq; | ||
186 | while (mask) { | 185 | while (mask) { |
187 | if (mask & 1) { | 186 | if (mask & 1) { |
188 | DEBUG_IRQ("handling irq %d\n", irq); | 187 | DEBUG_IRQ("handling irq %d\n", irq); |
189 | desc_handle_irq(irq, desc); | 188 | generic_handle_irq(irq); |
190 | } | 189 | } |
191 | irq++; | 190 | irq++; |
192 | desc++; | ||
193 | mask >>= 1; | 191 | mask >>= 1; |
194 | } | 192 | } |
195 | } | 193 | } |