From: Shawn Guo Date: Tue, 20 May 2014 07:34:06 +0000 (+0800) Subject: ARM: imx5: move init hooks into mach-imx5x.c X-Git-Tag: cleanup-for-v3.18~81^2~22^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff4ab2311a902e30cd579339a83679bab944e1bc;p=pandora-kernel.git ARM: imx5: move init hooks into mach-imx5x.c These imx5 init_early[late] hooks are called only from mach-imx5x.c. Let's move them into mach-imx5x.c. While at it, replace the static mapping in imx51_ipu_mipi_setup() with dynamic mapping. Also this function and imx_src_init() do not necessarily to be called at .init_early hook, so move them into .init_machine. The mxc_iomux_v3_init() is dropped from imx51_init_early() in the moving, since it's only needed by non-DT boot. Signed-off-by: Shawn Guo --- Reading git-diff-tree failed