ARM: imx legacy: pcm037: move peripheral initialization to .init_late
authorVladimir Zapolskiy <vz@mleia.com>
Mon, 19 Sep 2016 01:37:17 +0000 (04:37 +0300)
committerShawn Guo <shawnguo@kernel.org>
Tue, 20 Sep 2016 14:34:57 +0000 (22:34 +0800)
commit347aa6c41317157b8f8333d058ca02e156748666
tree3edad5b4cd36dc6689ba731bf28665eb11999195
parent7880dcb25958a80f7afb5dff1b024fd22dfdfde8
ARM: imx legacy: pcm037: move peripheral initialization to .init_late

The change moves some of peripheral registrations and initializations
(all peripherals dependent on GPIOs) from .init_machine to .init_late
level, this allows to safely shift the shared GPIO controller driver
initialization level after init level of i.MX IOMUXC driver.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/mach-pcm037.c