]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Unexport pci_bus_sem
authorKelsey Skunberg <skunberg.kelsey@gmail.com>
Thu, 18 Jul 2019 03:29:52 +0000 (21:29 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 23 Jul 2019 23:32:50 +0000 (18:32 -0500)
commit8f3e05b4e466e0df9b8fa8a3d305219766f89819
tree0a4301a0e12821ac07d9f2e69967216874ce216c
parent5d4647343e698742359f42f2a018020b0ad2046c
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 77ca73932ff1 ("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
89904d85fb47 ("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>
drivers/pci/search.c