PCI: Make pci_bus_get(), pci_bus_put() private
authorKelsey Skunberg <skunberg.kelsey@gmail.com>
Wed, 24 Jul 2019 23:38:43 +0000 (17:38 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 30 Jul 2019 13:45:52 +0000 (08:45 -0500)
commitecd29c1a38af4ba6e61382591dfe93f06f14ba25
tree95a88df15dd1d79553446818d2362efd7f38a39d
parent003d3b2c5f835d897b3b10a13a9e1340630e93f1
PCI: Make pci_bus_get(), pci_bus_put() private

These interfaces:

  struct pci_bus *pci_bus_get(struct pci_bus *bus);
  void pci_bus_put(struct pci_bus *bus);

are only used in drivers/pci/ and do not need to be seen by the rest of the
kernel.  Move them to drivers/pci/pci.h so they're private to the PCI
subsystem.

Link: https://lore.kernel.org/r/20190724233848.73327-7-skunberg.kelsey@gmail.com
Signed-off-by: Kelsey Skunberg <skunberg.kelsey@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.h
include/linux/pci.h