Commit 544b46de authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Russell King

[ARM] 3699/1: ARM: Convert s3c2410 to generic irq handling

Patch from Thomas Gleixner

From: Thomas Gleixner <tglx@linutronix.de>

Fixup the conversion to generic irq subsystem.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 119c641c
...@@ -136,8 +136,8 @@ bast_irq_pc104_demux(unsigned int irq, ...@@ -136,8 +136,8 @@ bast_irq_pc104_demux(unsigned int irq,
for (i = 0; stat != 0; i++, stat >>= 1) { for (i = 0; stat != 0; i++, stat >>= 1) {
if (stat & 1) { if (stat & 1) {
irqno = bast_pc104_irqs[i]; irqno = bast_pc104_irqs[i];
desc = irq_desc + irqno;
desc_handle_irq(irqno, irq_desc + irqno, regs); desc_handle_irq(irqno, desc, regs);
} }
} }
} }
...@@ -156,7 +156,7 @@ static __init int bast_irq_init(void) ...@@ -156,7 +156,7 @@ static __init int bast_irq_init(void)
set_irq_chained_handler(IRQ_ISA, bast_irq_pc104_demux); set_irq_chained_handler(IRQ_ISA, bast_irq_pc104_demux);
/* reigster our IRQs */ /* register our IRQs */
for (i = 0; i < 4; i++) { for (i = 0; i < 4; i++) {
unsigned int irqno = bast_pc104_irqs[i]; unsigned int irqno = bast_pc104_irqs[i];
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/err.h> #include <linux/err.h>
#include <linux/clk.h> #include <linux/clk.h>
......
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