diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-01-30 11:04:38 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-01-30 11:04:38 +0900 |
commit | 97b19778ee5dd0484493f12f6a9cf9391cf0aefb (patch) | |
tree | c5aa9ff03c522e7212d1b4612b5b033e90e3ed2a /arch/sh/boards | |
parent | 396c56a9c69ebb0baf9171a6365ac9fda322728d (diff) | |
download | linux-3.10-97b19778ee5dd0484493f12f6a9cf9391cf0aefb.tar.gz linux-3.10-97b19778ee5dd0484493f12f6a9cf9391cf0aefb.tar.bz2 linux-3.10-97b19778ee5dd0484493f12f6a9cf9391cf0aefb.zip |
sh: mach-se: Fix up irq_desc reference.
The irq_desc needs to be accessed with irq_to_desc(), this fixes up a
build error with irq_desc being undefined.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards')
-rw-r--r-- | arch/sh/boards/mach-se/7206/irq.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/boards/mach-se/7206/irq.c b/arch/sh/boards/mach-se/7206/irq.c index 79be4bc5993..8d82175d83a 100644 --- a/arch/sh/boards/mach-se/7206/irq.c +++ b/arch/sh/boards/mach-se/7206/irq.c @@ -89,8 +89,9 @@ static void enable_se7206_irq(unsigned int irq) static void eoi_se7206_irq(unsigned int irq) { unsigned short sts0,sts1; + struct irq_desc *desc = irq_to_desc(irq); - if (!(irq_desc[irq].status & (IRQ_DISABLED|IRQ_INPROGRESS))) + if (!(desc->status & (IRQ_DISABLED|IRQ_INPROGRESS))) enable_se7206_irq(irq); /* FPGA isr clear */ sts0 = __raw_readw(INTSTS0); |