ARM: imx legacy: mx31lite: move peripheral initialization to .init_late
authorVladimir Zapolskiy <vz@mleia.com>
Mon, 19 Sep 2016 01:37:14 +0000 (04:37 +0300)
committerShawn Guo <shawnguo@kernel.org>
Tue, 20 Sep 2016 14:34:47 +0000 (22:34 +0800)
commit4ed9bb21847b9459cdc16a4027b6058d0540dcc8
tree7aaf8bae6246b222943e463100ded2a739521162
parent4bc2e627c5aa3b69e1a549f71792c738ce220b1c
ARM: imx legacy: mx31lite: 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-mx31lite.c
arch/arm/mach-imx/mx31lite-db.c