[PATCH] ARM: imx1: mm: add call to mxc_device_init

Sascha Hauer s.hauer at pengutronix.de
Mon Mar 25 10:09:40 EDT 2013


On Sat, Mar 16, 2013 at 04:49:59PM +0100, Gwenhael Goavec-Merou wrote:
> 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 at armadeus.com>

Applied, thanks

Sascha

> ---
>  arch/arm/mach-imx/mm-imx1.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> 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,
> -- 
> 1.8.1.5
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the linux-arm-kernel mailing list