ARM: imx legacy: armadillo5x0: move peripheral initialization to .init_late
authorVladimir Zapolskiy <vz@mleia.com>
Mon, 19 Sep 2016 01:37:20 +0000 (04:37 +0300)
committerShawn Guo <shawnguo@kernel.org>
Tue, 20 Sep 2016 14:35:08 +0000 (22:35 +0800)
commita95a9322df400b5b4a9dc49dffbb30742ecc5497
treefd0f59578bb2f8e08ddf4ddb367114ea83d8af58
parentc5f9cfe60bd4763432e78780174fa6b6c5e82336
ARM: imx legacy: armadillo5x0: 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-armadillo5x0.c