diff options
author | Kelsey Skunberg <skunberg.kelsey@gmail.com> | 2019-07-25 01:38:43 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2019-07-30 15:45:52 +0200 |
commit | ecd29c1a38af4ba6e61382591dfe93f06f14ba25 (patch) | |
tree | 95a88df15dd1d79553446818d2362efd7f38a39d /include | |
parent | PCI: Make pci_hotplug_io_size, mem_size, and bus_size private (diff) | |
download | linux-ecd29c1a38af4ba6e61382591dfe93f06f14ba25.tar.xz linux-ecd29c1a38af4ba6e61382591dfe93f06f14ba25.zip |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pci.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index b5592b9b7f38..4d1b6f07f8f1 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -1282,8 +1282,6 @@ int pci_request_selected_regions_exclusive(struct pci_dev *, int, const char *); void pci_release_selected_regions(struct pci_dev *, int); /* drivers/pci/bus.c */ -struct pci_bus *pci_bus_get(struct pci_bus *bus); -void pci_bus_put(struct pci_bus *bus); void pci_add_resource(struct list_head *resources, struct resource *res); void pci_add_resource_offset(struct list_head *resources, struct resource *res, resource_size_t offset); |