diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2013-03-25 09:34:51 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-04-01 04:30:04 -0400 |
commit | 6a8e95b071ecf7357d294782b6ef4e707ce0fbbd (patch) | |
tree | 8ab18cce9c20e78a0964fe995e68d034038301c5 /arch/arm/mach-mxs/mach-mxs.c | |
parent | cec6bae8ca0417002fa8e3376ab03198dcaaa82a (diff) |
ARM: mxs: move icoll driver into drivers/irqchip
Move icoll.c into drivers/irqchip as irq-mxs.c, and along with the
renaming, change the driver to use IRQCHIP_DECLARE.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-mxs/mach-mxs.c')
-rw-r--r-- | arch/arm/mach-mxs/mach-mxs.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-mxs/mach-mxs.c b/arch/arm/mach-mxs/mach-mxs.c index c1c0fb414c28..10506381b446 100644 --- a/arch/arm/mach-mxs/mach-mxs.c +++ b/arch/arm/mach-mxs/mach-mxs.c | |||
@@ -18,6 +18,8 @@ | |||
18 | #include <linux/err.h> | 18 | #include <linux/err.h> |
19 | #include <linux/gpio.h> | 19 | #include <linux/gpio.h> |
20 | #include <linux/init.h> | 20 | #include <linux/init.h> |
21 | #include <linux/irqchip.h> | ||
22 | #include <linux/irqchip/mxs.h> | ||
21 | #include <linux/micrel_phy.h> | 23 | #include <linux/micrel_phy.h> |
22 | #include <linux/mxsfb.h> | 24 | #include <linux/mxsfb.h> |
23 | #include <linux/of_platform.h> | 25 | #include <linux/of_platform.h> |
@@ -469,7 +471,7 @@ static const char *imx28_dt_compat[] __initdata = { | |||
469 | 471 | ||
470 | DT_MACHINE_START(IMX23, "Freescale i.MX23 (Device Tree)") | 472 | DT_MACHINE_START(IMX23, "Freescale i.MX23 (Device Tree)") |
471 | .map_io = mx23_map_io, | 473 | .map_io = mx23_map_io, |
472 | .init_irq = icoll_init_irq, | 474 | .init_irq = irqchip_init, |
473 | .handle_irq = icoll_handle_irq, | 475 | .handle_irq = icoll_handle_irq, |
474 | .init_time = imx23_timer_init, | 476 | .init_time = imx23_timer_init, |
475 | .init_machine = mxs_machine_init, | 477 | .init_machine = mxs_machine_init, |
@@ -479,7 +481,7 @@ MACHINE_END | |||
479 | 481 | ||
480 | DT_MACHINE_START(IMX28, "Freescale i.MX28 (Device Tree)") | 482 | DT_MACHINE_START(IMX28, "Freescale i.MX28 (Device Tree)") |
481 | .map_io = mx28_map_io, | 483 | .map_io = mx28_map_io, |
482 | .init_irq = icoll_init_irq, | 484 | .init_irq = irqchip_init, |
483 | .handle_irq = icoll_handle_irq, | 485 | .handle_irq = icoll_handle_irq, |
484 | .init_time = imx28_timer_init, | 486 | .init_time = imx28_timer_init, |
485 | .init_machine = mxs_machine_init, | 487 | .init_machine = mxs_machine_init, |