summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/mm-imx1.c
diff options
context:
space:
mode:
authorGwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>2013-03-16 16:49:59 +0100
committerShawn Guo <shawn.guo@linaro.org>2013-04-12 19:28:15 +0800
commit9a37ac481aab63c61488562c03125ba279ad57c6 (patch)
treeab94935908f4ae6e31754d8938132083c086a1f4 /arch/arm/mach-imx/mm-imx1.c
parent7c3e48b5a4b46a0cdb12c824caa66d1a68c3def5 (diff)
downloadop-kernel-dev-9a37ac481aab63c61488562c03125ba279ad57c6.zip
op-kernel-dev-9a37ac481aab63c61488562c03125ba279ad57c6.tar.gz
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/mm-imx1.c')
-rw-r--r--arch/arm/mach-imx/mm-imx1.c2
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,
OpenPOWER on IntegriCloud