summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mvebu/coherency_ll.S
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-05-20 19:13:03 +0400
committerJason Cooper <jason@lakedaemon.net>2014-05-22 18:17:46 +0400
commit8828ccc3f2a8e32ddf1a0e1a80742e8482f18cea (patch)
treea92a3ca34461a5c07f6ba009eb3198a72f0d4f8e /arch/arm/mach-mvebu/coherency_ll.S
parent497a92308af8e9385fa3d135f7f416a997e4b93b (diff)
downloadlinux-8828ccc3f2a8e32ddf1a0e1a80742e8482f18cea.tar.xz
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 <arnd@arndb.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Link: https://lkml.kernel.org/r/1400598783-706-1-git-send-email-thomas.petazzoni@free-electrons.com Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-mvebu/coherency_ll.S')
0 files changed, 0 insertions, 0 deletions