aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/search.c
diff options
context:
space:
mode:
authorKelsey Skunberg <skunberg.kelsey@gmail.com>2019-07-17 21:29:52 -0600
committerBjorn Helgaas <bhelgaas@google.com>2019-07-23 18:32:50 -0500
commit70a658073726ae79cf9747b651f577d1fdf45c3a (patch)
tree0a4301a0e12821ac07d9f2e69967216874ce216c /drivers/pci/search.c
parentPCI: Unexport pci_bus_get() and pci_bus_put() (diff)
downloadlinux-dev-70a658073726ae79cf9747b651f577d1fdf45c3a.tar.xz
linux-dev-70a658073726ae79cf9747b651f577d1fdf45c3a.zip
PCI: Unexport pci_bus_sem
pci_bus_sem is not used by a loadable kernel module and does not need to be exported. It was exported by ce29ca3ea407 ("PCI: acpiphp: remove all functions in slot, even without ACPI _EJx"), which added a use of pci_bus_sem in acpiphp, which could be built as a module at that time. But since 6037a803b05e ("PCI: acpiphp: Convert acpiphp to be builtin only, not modular"), it can no longer be built as a module. Link: https://lore.kernel.org/r/20190718032951.40188-1-skunberg.kelsey@gmail.com Signed-off-by: Kelsey Skunberg <skunberg.kelsey@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/search.c')
-rw-r--r--drivers/pci/search.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/search.c b/drivers/pci/search.c
index 7f4e65872b8d..bade14002fd8 100644
--- a/drivers/pci/search.c
+++ b/drivers/pci/search.c
@@ -15,7 +15,6 @@
#include "pci.h"
DECLARE_RWSEM(pci_bus_sem);
-EXPORT_SYMBOL_GPL(pci_bus_sem);
/*
* pci_for_each_dma_alias - Iterate over DMA aliases for a device