From: Xia Kaixu Date: Wed, 3 Sep 2014 13:18:12 +0000 (+0800) Subject: ARM: cns3xxx: fix allmodconfig panic in pci driver X-Git-Tag: fixes-for-v3.18-merge-window~7^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a2e912d296201c476fe5d7ba6ac23a66325935f;p=pandora-kernel.git 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 Signed-off-by: Arnd Bergmann Cc: Anton Vorontsov Cc: Felix Fietkau Cc: Imre Kaloz Cc: linaro-kernel@lists.linaro.org Cc: linux-arm-kernel@lists.infradead.org --- Reading git-diff-tree failed