From: Thomas Petazzoni Date: Tue, 20 May 2014 15:13:03 +0000 (+0200) Subject: ARM: mvebu: coherency: fix registration of PCI bus notifier when !PCI X-Git-Tag: omap-for-v3.16/fixes-against-rc1~52^2~7^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8828ccc3f2a8e32ddf1a0e1a80742e8482f18cea;p=pandora-kernel.git ARM: mvebu: coherency: fix registration of PCI bus notifier when !PCI Commit b0063aad5dd8 ("ARM: mvebu: use hardware I/O coherency also for PCI devices") added a reference to the pci_bus_type variable, but this variable is only available when CONFIG_PCI is enabled. Therefore, there is now a build failure in !CONFIG_PCI situations. This commit fixes that by enclosing the entire initcall into a IS_ENABLED(CONFIG_PCI) condition. Reported-by: Arnd Bergmann Signed-off-by: Thomas Petazzoni Link: https://lkml.kernel.org/r/1400598783-706-1-git-send-email-thomas.petazzoni@free-electrons.com Signed-off-by: Jason Cooper --- Reading git-diff-tree failed