PCI: Make pci_check_pme_status(), pci_pme_wakeup_bus() private
authorKelsey Skunberg <skunberg.kelsey@gmail.com>
Wed, 24 Jul 2019 23:38:39 +0000 (17:38 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 30 Jul 2019 13:45:49 +0000 (08:45 -0500)
commit669696ebbccc40e8096a2ee9809c028fc1538001
treeab9e67b380729c0337da2e7ff1a463685664c3d3
parentc776dd50196a07a0ef943fcb74e8c86f9a5a20a8
PCI: Make pci_check_pme_status(), pci_pme_wakeup_bus() private

These interfaces:

  bool pci_check_pme_status(struct pci_dev *dev);
  void pci_pme_wakeup_bus(struct pci_bus *bus);

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-3-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