ARM: imx: call mxc_device_init() in soc specific function
authorShawn Guo <shawn.guo@linaro.org>
Thu, 20 Sep 2012 06:21:16 +0000 (14:21 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 15 Oct 2012 02:05:43 +0000 (10:05 +0800)
commit69ac71d370b21cc52a2afd06f3a6d6d1da5edc75
tree899ec198a92150d4dac72b0b5af3a2544c126df1
parent1e66210a3135b544713a9455e78e36f6f8d1bf77
ARM: imx: call mxc_device_init() in soc specific function

mxc_device_init() is a core_initcall function used to register devices
for mxc_aips_bus and mxc_ahb_bus, which are needed by gpio and dma
device registration.

Instead of being a core_initcall function, we have it called in soc
specific initialization function before gpio and dma devices get
registered, so that it will not be called for other platforms when
we enable multi-platform support for imx.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/common.h
arch/arm/mach-imx/devices/devices.c
arch/arm/mach-imx/mm-imx21.c
arch/arm/mach-imx/mm-imx25.c
arch/arm/mach-imx/mm-imx27.c
arch/arm/mach-imx/mm-imx3.c
arch/arm/mach-imx/mm-imx5.c