• Xia Kaixu's avatar
    ARM: cns3xxx: fix allmodconfig panic in pci driver · 0a2e912d
    Xia Kaixu authored
    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: default avatarXia Kaixu <kaixu.xia@linaro.org>
    Signed-off-by: default avatarArnd 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
core.h 890 Bytes