*/
#include <linux/init.h>
#include <linux/module.h>
-#include <linux/interrupt.h>
-#include <linux/irq.h>
#include <linux/ioport.h>
#include <linux/ptrace.h>
#include <linux/sysdev.h>
#include <asm/hardware.h>
+#include <asm/irq.h>
#include <asm/mach/irq.h>
#include "generic.h"
return 0;
}
-static struct irq_chip sa1100_low_gpio_chip = {
- .name = "GPIO-l",
+static struct irqchip sa1100_low_gpio_chip = {
.ack = sa1100_low_gpio_ack,
.mask = sa1100_low_gpio_mask,
.unmask = sa1100_low_gpio_unmask,
return 0;
}
-static struct irq_chip sa1100_high_gpio_chip = {
- .name = "GPIO-h",
+static struct irqchip sa1100_high_gpio_chip = {
.ack = sa1100_high_gpio_ack,
.mask = sa1100_high_gpio_mask,
.unmask = sa1100_high_gpio_unmask,
return -EINVAL;
}
-static struct irq_chip sa1100_normal_chip = {
- .name = "SC",
+static struct irqchip sa1100_normal_chip = {
.ack = sa1100_mask_irq,
.mask = sa1100_mask_irq,
.unmask = sa1100_unmask_irq,