#undef DEBUG
+#include <linux/config.h>
#include <linux/sched.h>
#include <linux/module.h>
#include <linux/kernel.h>
static struct irqaction irq0 = {
.name = "voyagergx",
.handler = voyagergx_interrupt,
- .flags = IRQF_DISABLED,
+ .flags = SA_INTERRUPT,
.mask = CPU_MASK_NONE,
};
flag = 1;
}
if (flag == 1)
- irq_desc[VOYAGER_IRQ_BASE + i].chip = &voyagergx_irq_type;
+ irq_desc[VOYAGER_IRQ_BASE + i].handler = &voyagergx_irq_type;
}
setup_irq(IRQ_VOYAGER, &irq0);