23 #include <linux/module.h>
26 #include <linux/device.h>
29 #include <mach/hardware.h>
34 #include <mach/regs-irq.h>
35 #include <mach/regs-gpio.h>
43 static void s3c_irq_demux_wdtac97(
unsigned int irq,
46 unsigned int subsrc, submsk;
69 #define INTMSK_WDT (1UL << (IRQ_WDT - IRQ_EINT0))
89 static struct irq_chip s3c_irq_wdtac97 = {
90 .irq_mask = s3c_irq_wdtac97_mask,
91 .irq_unmask = s3c_irq_wdtac97_unmask,
92 .irq_ack = s3c_irq_wdtac97_ack,
99 printk(
"S3C2440: IRQ Support\n");
105 irq_set_chained_handler(
IRQ_WDT, s3c_irq_demux_wdtac97);
108 irq_set_chip_and_handler(irqno, &s3c_irq_wdtac97,
117 .name =
"s3c2440_irq",
119 .add_dev = s3c2440_irq_add,
122 static int s3c2440_irq_init(
void)