aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-11-11 12:50:50 -0500
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-11-19 15:54:34 -0500
commitd7e0951f929513ced7c57882d2f95d49a546e002 (patch)
treeda72b67a4e988a95fe93e3422dcc6ed52d7e4341 /arch/arm/plat-mxc
parent972cc48207450ce6aeed416ac176fe4d0482a4a3 (diff)
ARM: mx3: move registration of gpios to plat-mxc/gpio.c
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc')
-rw-r--r--arch/arm/plat-mxc/gpio.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/gpio.c b/arch/arm/plat-mxc/gpio.c
index c853bfa3dc53..2fb1efa3d0fb 100644
--- a/arch/arm/plat-mxc/gpio.c
+++ b/arch/arm/plat-mxc/gpio.c
@@ -420,3 +420,25 @@ static struct mxc_gpio_port imx27_gpio_ports[] = {
420DEFINE_REGISTER_FUNCTION(imx27) 420DEFINE_REGISTER_FUNCTION(imx27)
421 421
422#endif /* if defined(CONFIG_SOC_IMX27) */ 422#endif /* if defined(CONFIG_SOC_IMX27) */
423
424#if defined(CONFIG_ARCH_MX31)
425static struct mxc_gpio_port imx31_gpio_ports[] = {
426 DEFINE_IMX_GPIO_PORT_IRQ(MX31, 0, 1, MX31_INT_GPIO1),
427 DEFINE_IMX_GPIO_PORT_IRQ(MX31, 1, 2, MX31_INT_GPIO2),
428 DEFINE_IMX_GPIO_PORT_IRQ(MX31, 2, 3, MX31_INT_GPIO3),
429};
430
431DEFINE_REGISTER_FUNCTION(imx31)
432
433#endif /* if defined(CONFIG_ARCH_MX31) */
434
435#if defined(CONFIG_ARCH_MX35)
436static struct mxc_gpio_port imx35_gpio_ports[] = {
437 DEFINE_IMX_GPIO_PORT_IRQ(MX35, 0, 1, MX35_INT_GPIO1),
438 DEFINE_IMX_GPIO_PORT_IRQ(MX35, 1, 2, MX35_INT_GPIO2),
439 DEFINE_IMX_GPIO_PORT_IRQ(MX35, 2, 3, MX35_INT_GPIO3),
440};
441
442DEFINE_REGISTER_FUNCTION(imx35)
443
444#endif /* if defined(CONFIG_ARCH_MX35) */