Skip to content

Commit

Permalink
ARM: imx1: mm: add call to mxc_device_init
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Gwenhael Goavec-Merou authored and Shawn Guo committed Apr 12, 2013
1 parent 7c3e48b commit 9a37ac4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mach-imx/mm-imx1.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9a37ac4

Please sign in to comment.