ARM: imx legacy: mx31ads: move peripheral initialization to .init_late
authorVladimir Zapolskiy <vz@mleia.com>
Mon, 19 Sep 2016 01:37:15 +0000 (04:37 +0300)
committerShawn Guo <shawnguo@kernel.org>
Tue, 20 Sep 2016 14:34:51 +0000 (22:34 +0800)
commit894b7cbedf54a9eb0b41bce9c555f2afd944910f
treea60390219fdb0675842152658c4ffbba94e38931
parent4ed9bb21847b9459cdc16a4027b6058d0540dcc8
ARM: imx legacy: mx31ads: 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-mx31ads.c