]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit75b1af814ffb2b0e93e74ef9baccb66387029cb6
treec4b17c9339748aa9e1c991532827f2c21e64e5c3
parent002289ae9a7363bb5d14fb34a937f7880a18a261
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