]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitab28633d3818fbe73a6a050c07051ee1a3808635
tree899ec198a92150d4dac72b0b5af3a2544c126df1
parent88e32148b83bed0116ace33c3c20055d2d3af3b8
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