diff options
Diffstat (limited to 'arch/arm/mach-imx/irq.c')
-rw-r--r-- | arch/arm/mach-imx/irq.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/mach-imx/irq.c b/arch/arm/mach-imx/irq.c index 368b13b058ab..0791b56caecc 100644 --- a/arch/arm/mach-imx/irq.c +++ b/arch/arm/mach-imx/irq.c | |||
@@ -146,7 +146,7 @@ imx_gpio_unmask_irq(unsigned int irq) | |||
146 | 146 | ||
147 | static void | 147 | static void |
148 | imx_gpio_handler(unsigned int mask, unsigned int irq, | 148 | imx_gpio_handler(unsigned int mask, unsigned int irq, |
149 | struct irqdesc *desc) | 149 | struct irq_desc *desc) |
150 | { | 150 | { |
151 | desc = irq_desc + irq; | 151 | desc = irq_desc + irq; |
152 | while (mask) { | 152 | while (mask) { |
@@ -161,7 +161,7 @@ imx_gpio_handler(unsigned int mask, unsigned int irq, | |||
161 | } | 161 | } |
162 | 162 | ||
163 | static void | 163 | static void |
164 | imx_gpioa_demux_handler(unsigned int irq_unused, struct irqdesc *desc) | 164 | imx_gpioa_demux_handler(unsigned int irq_unused, struct irq_desc *desc) |
165 | { | 165 | { |
166 | unsigned int mask, irq; | 166 | unsigned int mask, irq; |
167 | 167 | ||
@@ -171,7 +171,7 @@ imx_gpioa_demux_handler(unsigned int irq_unused, struct irqdesc *desc) | |||
171 | } | 171 | } |
172 | 172 | ||
173 | static void | 173 | static void |
174 | imx_gpiob_demux_handler(unsigned int irq_unused, struct irqdesc *desc) | 174 | imx_gpiob_demux_handler(unsigned int irq_unused, struct irq_desc *desc) |
175 | { | 175 | { |
176 | unsigned int mask, irq; | 176 | unsigned int mask, irq; |
177 | 177 | ||
@@ -181,7 +181,7 @@ imx_gpiob_demux_handler(unsigned int irq_unused, struct irqdesc *desc) | |||
181 | } | 181 | } |
182 | 182 | ||
183 | static void | 183 | static void |
184 | imx_gpioc_demux_handler(unsigned int irq_unused, struct irqdesc *desc) | 184 | imx_gpioc_demux_handler(unsigned int irq_unused, struct irq_desc *desc) |
185 | { | 185 | { |
186 | unsigned int mask, irq; | 186 | unsigned int mask, irq; |
187 | 187 | ||
@@ -191,7 +191,7 @@ imx_gpioc_demux_handler(unsigned int irq_unused, struct irqdesc *desc) | |||
191 | } | 191 | } |
192 | 192 | ||
193 | static void | 193 | static void |
194 | imx_gpiod_demux_handler(unsigned int irq_unused, struct irqdesc *desc) | 194 | imx_gpiod_demux_handler(unsigned int irq_unused, struct irq_desc *desc) |
195 | { | 195 | { |
196 | unsigned int mask, irq; | 196 | unsigned int mask, irq; |
197 | 197 | ||
@@ -230,13 +230,13 @@ imx_init_irq(void) | |||
230 | 230 | ||
231 | for (irq = 0; irq < IMX_IRQS; irq++) { | 231 | for (irq = 0; irq < IMX_IRQS; irq++) { |
232 | set_irq_chip(irq, &imx_internal_chip); | 232 | set_irq_chip(irq, &imx_internal_chip); |
233 | set_irq_handler(irq, do_level_IRQ); | 233 | set_irq_handler(irq, handle_level_irq); |
234 | set_irq_flags(irq, IRQF_VALID); | 234 | set_irq_flags(irq, IRQF_VALID); |
235 | } | 235 | } |
236 | 236 | ||
237 | for (irq = IRQ_GPIOA(0); irq < IRQ_GPIOD(32); irq++) { | 237 | for (irq = IRQ_GPIOA(0); irq < IRQ_GPIOD(32); irq++) { |
238 | set_irq_chip(irq, &imx_gpio_chip); | 238 | set_irq_chip(irq, &imx_gpio_chip); |
239 | set_irq_handler(irq, do_edge_IRQ); | 239 | set_irq_handler(irq, handle_edge_irq); |
240 | set_irq_flags(irq, IRQF_VALID); | 240 | set_irq_flags(irq, IRQF_VALID); |
241 | } | 241 | } |
242 | 242 | ||