PCI/portdrv: Encapsulate pcie_ports_auto inside the port driver
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 9 Mar 2018 17:21:29 +0000 (11:21 -0600)
committerBjorn Helgaas <helgaas@kernel.org>
Fri, 30 Mar 2018 22:26:58 +0000 (17:26 -0500)
commit842b447f0074b93e9f7db60039fdc72ec14bef9a
treec4b17c9339748aa9e1c991532827f2c21e64e5c3
parent4c0fd7648d880d98add62552cffdf993bde65cf8
PCI/portdrv: Encapsulate pcie_ports_auto inside the port driver

"pcie_ports_auto" is only used inside the PCIe port driver itself, so
move it from include/linux/pci.h to portdrv.h so it's not visible to the
whole kernel.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/portdrv.h
include/linux/pci.h