Commit 97b19778 authored by Paul Mundt's avatar Paul Mundt

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: default avatarPaul Mundt <lethal@linux-sh.org>
parent 396c56a9
...@@ -89,8 +89,9 @@ static void enable_se7206_irq(unsigned int irq) ...@@ -89,8 +89,9 @@ static void enable_se7206_irq(unsigned int irq)
static void eoi_se7206_irq(unsigned int irq) static void eoi_se7206_irq(unsigned int irq)
{ {
unsigned short sts0,sts1; 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); enable_se7206_irq(irq);
/* FPGA isr clear */ /* FPGA isr clear */
sts0 = __raw_readw(INTSTS0); sts0 = __raw_readw(INTSTS0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment