]> Pileus Git - ~andy/linux/commitdiff
ARM: imx1: mm: add call to mxc_device_init
authorGwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
Sat, 16 Mar 2013 15:49:59 +0000 (16:49 +0100)
committerShawn Guo <shawn.guo@linaro.org>
Fri, 12 Apr 2013 11:28:15 +0000 (19:28 +0800)
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>
arch/arm/mach-imx/mm-imx1.c

index 7a146671e65a8768572840b138da9a3987f8cb49..3c609c52d3eb984f2d71cf43fc933c8b5e777056 100644 (file)
@@ -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,