summaryrefslogtreecommitdiff
path: root/arch/arm/mach-lh7a40x/arch-kev7a400.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-04-20 16:40:47 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-04-20 16:40:47 +0100
commitd8d9075cf6023340a1603720a9a59815f14a5219 (patch)
treefae4afbb74e2b8d3f40f0a7e2d30a5fbf39b6f4f /arch/arm/mach-lh7a40x/arch-kev7a400.c
parentcf816ecb533ab96b883dfdc0db174598b5b5c4d2 (diff)
downloadlwn-d8d9075cf6023340a1603720a9a59815f14a5219.tar.gz
lwn-d8d9075cf6023340a1603720a9a59815f14a5219.zip
[ARM] fix lh7a40x/kev7a400 build
arch/arm/mach-lh7a40x/arch-kev7a400.c: In function `kev7a400_cpld_handler': arch/arm/mach-lh7a40x/arch-kev7a400.c:80: error: structure has no member named `handle' Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-lh7a40x/arch-kev7a400.c')
-rw-r--r--arch/arm/mach-lh7a40x/arch-kev7a400.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-lh7a40x/arch-kev7a400.c b/arch/arm/mach-lh7a40x/arch-kev7a400.c
index 6d26661d99f6..2ef7d0097b38 100644
--- a/arch/arm/mach-lh7a40x/arch-kev7a400.c
+++ b/arch/arm/mach-lh7a40x/arch-kev7a400.c
@@ -75,10 +75,9 @@ static void kev7a400_cpld_handler (unsigned int irq, struct irq_desc *desc)
{
u32 mask = CPLD_LATCHED_INTS;
irq = IRQ_KEV7A400_CPLD;
- for (; mask; mask >>= 1, ++irq) {
+ for (; mask; mask >>= 1, ++irq)
if (mask & 1)
- desc[irq].handle (irq, desc);
- }
+ desc_handle_irq(irq, desc);
}
void __init lh7a40x_init_board_irq (void)