diff options
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r-- | arch/arm/mach-imx/clock.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-imx/irq.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-imx/leds-mx1ads.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-imx/time.c | 2 |
4 files changed, 5 insertions, 7 deletions
diff --git a/arch/arm/mach-imx/clock.c b/arch/arm/mach-imx/clock.c index 4b4230db3765..7ec60fc91565 100644 --- a/arch/arm/mach-imx/clock.c +++ b/arch/arm/mach-imx/clock.c | |||
@@ -21,8 +21,8 @@ | |||
21 | #include <linux/list.h> | 21 | #include <linux/list.h> |
22 | #include <linux/math64.h> | 22 | #include <linux/math64.h> |
23 | #include <linux/err.h> | 23 | #include <linux/err.h> |
24 | #include <linux/io.h> | ||
24 | 25 | ||
25 | #include <asm/io.h> | ||
26 | #include <mach/imx-regs.h> | 26 | #include <mach/imx-regs.h> |
27 | 27 | ||
28 | /* | 28 | /* |
diff --git a/arch/arm/mach-imx/irq.c b/arch/arm/mach-imx/irq.c index 2bb829e721cd..531b95deadc0 100644 --- a/arch/arm/mach-imx/irq.c +++ b/arch/arm/mach-imx/irq.c | |||
@@ -26,10 +26,10 @@ | |||
26 | #include <linux/init.h> | 26 | #include <linux/init.h> |
27 | #include <linux/list.h> | 27 | #include <linux/list.h> |
28 | #include <linux/timer.h> | 28 | #include <linux/timer.h> |
29 | #include <linux/io.h> | ||
29 | 30 | ||
30 | #include <mach/hardware.h> | 31 | #include <mach/hardware.h> |
31 | #include <asm/irq.h> | 32 | #include <asm/irq.h> |
32 | #include <asm/io.h> | ||
33 | 33 | ||
34 | #include <asm/mach/irq.h> | 34 | #include <asm/mach/irq.h> |
35 | 35 | ||
@@ -201,14 +201,12 @@ static void | |||
201 | imx_gpio_handler(unsigned int mask, unsigned int irq, | 201 | imx_gpio_handler(unsigned int mask, unsigned int irq, |
202 | struct irq_desc *desc) | 202 | struct irq_desc *desc) |
203 | { | 203 | { |
204 | desc = irq_desc + irq; | ||
205 | while (mask) { | 204 | while (mask) { |
206 | if (mask & 1) { | 205 | if (mask & 1) { |
207 | DEBUG_IRQ("handling irq %d\n", irq); | 206 | DEBUG_IRQ("handling irq %d\n", irq); |
208 | desc_handle_irq(irq, desc); | 207 | generic_handle_irq(irq); |
209 | } | 208 | } |
210 | irq++; | 209 | irq++; |
211 | desc++; | ||
212 | mask >>= 1; | 210 | mask >>= 1; |
213 | } | 211 | } |
214 | } | 212 | } |
diff --git a/arch/arm/mach-imx/leds-mx1ads.c b/arch/arm/mach-imx/leds-mx1ads.c index af81621f689b..1d48f2762cbc 100644 --- a/arch/arm/mach-imx/leds-mx1ads.c +++ b/arch/arm/mach-imx/leds-mx1ads.c | |||
@@ -13,9 +13,9 @@ | |||
13 | 13 | ||
14 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
15 | #include <linux/init.h> | 15 | #include <linux/init.h> |
16 | #include <linux/io.h> | ||
16 | #include <mach/hardware.h> | 17 | #include <mach/hardware.h> |
17 | #include <asm/system.h> | 18 | #include <asm/system.h> |
18 | #include <asm/io.h> | ||
19 | #include <asm/leds.h> | 19 | #include <asm/leds.h> |
20 | #include "leds.h" | 20 | #include "leds.h" |
21 | 21 | ||
diff --git a/arch/arm/mach-imx/time.c b/arch/arm/mach-imx/time.c index 08be3875c59e..a11765f5f23b 100644 --- a/arch/arm/mach-imx/time.c +++ b/arch/arm/mach-imx/time.c | |||
@@ -18,9 +18,9 @@ | |||
18 | #include <linux/clocksource.h> | 18 | #include <linux/clocksource.h> |
19 | #include <linux/clockchips.h> | 19 | #include <linux/clockchips.h> |
20 | #include <linux/clk.h> | 20 | #include <linux/clk.h> |
21 | #include <linux/io.h> | ||
21 | 22 | ||
22 | #include <mach/hardware.h> | 23 | #include <mach/hardware.h> |
23 | #include <asm/io.h> | ||
24 | #include <asm/leds.h> | 24 | #include <asm/leds.h> |
25 | #include <asm/irq.h> | 25 | #include <asm/irq.h> |
26 | #include <asm/mach/time.h> | 26 | #include <asm/mach/time.h> |