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>
Šī revīzija ir iekļauta:
Bjorn Helgaas
2018-03-09 11:21:29 -06:00
revīziju iesūtīja Bjorn Helgaas
vecāks 4c0fd7648d
revīzija 842b447f00
2 mainīti faili ar 2 papildinājumiem un 2 dzēšanām

Parādīt failu

@@ -12,6 +12,8 @@
#include <linux/compiler.h>
extern bool pcie_ports_auto;
/* Service Type */
#define PCIE_PORT_SERVICE_PME_SHIFT 0 /* Power Management Event */
#define PCIE_PORT_SERVICE_PME (1 << PCIE_PORT_SERVICE_PME_SHIFT)