aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorKelsey Skunberg <skunberg.kelsey@gmail.com>2019-07-24 17:38:42 -0600
committerBjorn Helgaas <bhelgaas@google.com>2019-07-30 08:45:52 -0500
commit003d3b2c5f835d897b3b10a13a9e1340630e93f1 (patch)
tree061f99efef077a2cdc1a20ec6d55d3a589a6e5ec /drivers/pci
parentPCI: Make pci_save_vc_state(), pci_restore_vc_state(), etc private (diff)
downloadlinux-dev-003d3b2c5f835d897b3b10a13a9e1340630e93f1.tar.xz
linux-dev-003d3b2c5f835d897b3b10a13a9e1340630e93f1.zip
PCI: Make pci_hotplug_io_size, mem_size, and bus_size private
These symbols: extern unsigned long pci_hotplug_io_size; extern unsigned long pci_hotplug_mem_size; extern unsigned long pci_hotplug_bus_size; 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-6-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')
-rw-r--r--drivers/pci/pci.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h
index 19cda6e6fccd..9698fa805e28 100644
--- a/drivers/pci/pci.h
+++ b/drivers/pci/pci.h
@@ -208,6 +208,9 @@ extern const struct attribute_group *pcibus_groups[];
extern const struct device_type pci_dev_type;
extern const struct attribute_group *pci_bus_groups[];
+extern unsigned long pci_hotplug_io_size;
+extern unsigned long pci_hotplug_mem_size;
+extern unsigned long pci_hotplug_bus_size;
/**
* pci_match_one_device - Tell if a PCI device structure has a matching