diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-06-10 11:11:06 -0400 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-06-24 09:40:40 -0400 |
commit | 9a763bfbe45d8d4afe953993907188322a49a4ec (patch) | |
tree | aad5479d993406fa97ba23306e17007c9277bd52 /arch/arm/mach-mxc91231/mm.c | |
parent | 3aad49e138a9690969df52672c454e1d6d01b501 (diff) |
ARM: imx: get rid of mxc_gpio_init
This function is defined once for each imx family and so is in the way
when compiling a kernel for more than one SoC.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mxc91231/mm.c')
-rw-r--r-- | arch/arm/mach-mxc91231/mm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-mxc91231/mm.c b/arch/arm/mach-mxc91231/mm.c index 6becda3ff331..1f23c743ae65 100644 --- a/arch/arm/mach-mxc91231/mm.c +++ b/arch/arm/mach-mxc91231/mm.c | |||
@@ -88,7 +88,10 @@ void __init mxc91231_map_io(void) | |||
88 | iotable_init(mxc_io_desc, ARRAY_SIZE(mxc_io_desc)); | 88 | iotable_init(mxc_io_desc, ARRAY_SIZE(mxc_io_desc)); |
89 | } | 89 | } |
90 | 90 | ||
91 | int mxc91231_register_gpios(void); | ||
92 | |||
91 | void __init mxc91231_init_irq(void) | 93 | void __init mxc91231_init_irq(void) |
92 | { | 94 | { |
95 | mxc91231_register_gpios(); | ||
93 | mxc_init_irq(MXC91231_IO_ADDRESS(MXC91231_AVIC_BASE_ADDR)); | 96 | mxc_init_irq(MXC91231_IO_ADDRESS(MXC91231_AVIC_BASE_ADDR)); |
94 | } | 97 | } |