ARM: cns3xxx: fix allmodconfig panic in pci driver

The kernel panic occurs when running an allmodconfig kernel on
OMAP4460. The inicall "cns3xxx_pcie_init" does not check which
hardware it's running on and just tries to access to its specific
registers. Now call it from .init_late callback from the two
machine descriptors.

Signed-off-by: Xia Kaixu <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Cc: Anton Vorontsov <[email protected]>
Cc: Felix Fietkau <[email protected]>
Cc: Imre Kaloz <[email protected]>
Cc: [email protected]
Cc: [email protected]
This commit is contained in:
Xia Kaixu 2014-09-03 21:18:12 +08:00 • committed by Arnd Bergmann
commit 0a2e912d29
5 changed files with 10 additions and 5 deletions

View file

@ -77,7 +77,7 @@ config ARM_EXYNOS5440_CPUFREQ
config ARM_EXYNOS_CPU_FREQ_BOOST_SW
bool "EXYNOS Frequency Overclocking - Software"
depends on ARM_EXYNOS_CPUFREQ
depends on ARM_EXYNOS_CPUFREQ && THERMAL
select CPU_FREQ_BOOST_SW
select EXYNOS_THERMAL
help