]> 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)
commit8bfcf65893bcc5552ac020c389adb178d078affb
treec4b17c9339748aa9e1c991532827f2c21e64e5c3
parent43f122f85e00701317a85e5165f6bc9ff70cc5a7
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