diff options
Diffstat (limited to 'arch/sh/boards/superh/microdev/irq.c')
-rw-r--r-- | arch/sh/boards/superh/microdev/irq.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/sh/boards/superh/microdev/irq.c b/arch/sh/boards/superh/microdev/irq.c index 8c64baa30364..4d335077a3ff 100644 --- a/arch/sh/boards/superh/microdev/irq.c +++ b/arch/sh/boards/superh/microdev/irq.c | |||
@@ -11,6 +11,7 @@ | |||
11 | 11 | ||
12 | #include <linux/init.h> | 12 | #include <linux/init.h> |
13 | #include <linux/irq.h> | 13 | #include <linux/irq.h> |
14 | #include <linux/interrupt.h> | ||
14 | #include <asm/system.h> | 15 | #include <asm/system.h> |
15 | #include <asm/io.h> | 16 | #include <asm/io.h> |
16 | #include <asm/microdev.h> | 17 | #include <asm/microdev.h> |
@@ -100,7 +101,7 @@ static void disable_microdev_irq(unsigned int irq) | |||
100 | 101 | ||
101 | fpgaIrq = fpgaIrqTable[irq].fpgaIrq; | 102 | fpgaIrq = fpgaIrqTable[irq].fpgaIrq; |
102 | 103 | ||
103 | /* disable interupts on the FPGA INTC register */ | 104 | /* disable interrupts on the FPGA INTC register */ |
104 | ctrl_outl(MICRODEV_FPGA_INTC_MASK(fpgaIrq), MICRODEV_FPGA_INTDSB_REG); | 105 | ctrl_outl(MICRODEV_FPGA_INTC_MASK(fpgaIrq), MICRODEV_FPGA_INTDSB_REG); |
105 | } | 106 | } |
106 | 107 | ||
@@ -125,7 +126,7 @@ static void enable_microdev_irq(unsigned int irq) | |||
125 | priorities |= MICRODEV_FPGA_INTPRI_LEVEL(fpgaIrq, pri); | 126 | priorities |= MICRODEV_FPGA_INTPRI_LEVEL(fpgaIrq, pri); |
126 | ctrl_outl(priorities, priorityReg); | 127 | ctrl_outl(priorities, priorityReg); |
127 | 128 | ||
128 | /* enable interupts on the FPGA INTC register */ | 129 | /* enable interrupts on the FPGA INTC register */ |
129 | ctrl_outl(MICRODEV_FPGA_INTC_MASK(fpgaIrq), MICRODEV_FPGA_INTENB_REG); | 130 | ctrl_outl(MICRODEV_FPGA_INTC_MASK(fpgaIrq), MICRODEV_FPGA_INTENB_REG); |
130 | } | 131 | } |
131 | 132 | ||
@@ -152,7 +153,7 @@ extern void __init init_microdev_irq(void) | |||
152 | { | 153 | { |
153 | int i; | 154 | int i; |
154 | 155 | ||
155 | /* disable interupts on the FPGA INTC register */ | 156 | /* disable interrupts on the FPGA INTC register */ |
156 | ctrl_outl(~0ul, MICRODEV_FPGA_INTDSB_REG); | 157 | ctrl_outl(~0ul, MICRODEV_FPGA_INTDSB_REG); |
157 | 158 | ||
158 | for (i = 0; i < NUM_EXTERNAL_IRQS; i++) | 159 | for (i = 0; i < NUM_EXTERNAL_IRQS; i++) |