• X
    ARM: cns3xxx: fix allmodconfig panic in pci driver · 0a2e912d
    Xia Kaixu 提交于
    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: NXia Kaixu <kaixu.xia@linaro.org>
    Signed-off-by: NArnd Bergmann <arnd@arndb.de>
    Cc: Anton Vorontsov <anton@enomsg.org>
    Cc: Felix Fietkau <nbd@openwrt.org>
    Cc: Imre Kaloz <kaloz@openwrt.org>
    Cc: linaro-kernel@lists.linaro.org
    Cc: linux-arm-kernel@lists.infradead.org
    0a2e912d
Kconfig.arm 6.3 KB