diff options
author | Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com> | 2013-03-16 15:49:59 (GMT) |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-04-12 11:28:15 (GMT) |
commit | 9a37ac481aab63c61488562c03125ba279ad57c6 (patch) | |
tree | ab94935908f4ae6e31754d8938132083c086a1f4 /arch/arm/mach-imx | |
parent | 7c3e48b5a4b46a0cdb12c824caa66d1a68c3def5 (diff) | |
download | linux-9a37ac481aab63c61488562c03125ba279ad57c6.tar.xz |
ARM: imx1: mm: add call to mxc_device_init
mxc_device_init() is mandatory for mxc_aips and mxc_ahb bus registration, needed
as parents, at least, for gpio and dma.
Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r-- | arch/arm/mach-imx/mm-imx1.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mm-imx1.c b/arch/arm/mach-imx/mm-imx1.c index 7a14667..3c609c5 100644 --- a/arch/arm/mach-imx/mm-imx1.c +++ b/arch/arm/mach-imx/mm-imx1.c @@ -51,6 +51,8 @@ void __init mx1_init_irq(void) void __init imx1_soc_init(void) { + mxc_device_init(); + mxc_register_gpio("imx1-gpio", 0, MX1_GPIO1_BASE_ADDR, SZ_256, MX1_GPIO_INT_PORTA, 0); mxc_register_gpio("imx1-gpio", 1, MX1_GPIO2_BASE_ADDR, SZ_256, |