OSDN Git Service

PCI: Make pci_hotplug_io_size, mem_size, and bus_size private
authorKelsey Skunberg <skunberg.kelsey@gmail.com>
Wed, 24 Jul 2019 23:38:42 +0000 (17:38 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 30 Jul 2019 13:45:52 +0000 (08:45 -0500)
commit003d3b2c5f835d897b3b10a13a9e1340630e93f1
tree061f99efef077a2cdc1a20ec6d55d3a589a6e5ec
parent440589dd1068fb36b2fe10ccddf97e43267e3b8d
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>
drivers/pci/pci.h
include/linux/pci.h