diff options
author | Kelsey Skunberg <skunberg.kelsey@gmail.com> | 2019-07-24 17:38:39 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2019-07-30 08:45:49 -0500 |
commit | 669696ebbccc40e8096a2ee9809c028fc1538001 (patch) | |
tree | ab9e67b380729c0337da2e7ff1a463685664c3d3 /drivers/pci/pci.h | |
parent | c776dd50196a07a0ef943fcb74e8c86f9a5a20a8 (diff) | |
download | linux-669696ebbccc40e8096a2ee9809c028fc1538001.tar.gz linux-669696ebbccc40e8096a2ee9809c028fc1538001.tar.bz2 linux-669696ebbccc40e8096a2ee9809c028fc1538001.zip |
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>
Diffstat (limited to 'drivers/pci/pci.h')
-rw-r--r-- | drivers/pci/pci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index 708413632429..ad1fe54ab8ee 100644 --- a/drivers/pci/pci.h +++ b/drivers/pci/pci.h @@ -89,6 +89,8 @@ void pci_power_up(struct pci_dev *dev); void pci_disable_enabled_device(struct pci_dev *dev); int pci_finish_runtime_suspend(struct pci_dev *dev); void pcie_clear_root_pme_status(struct pci_dev *dev); +bool pci_check_pme_status(struct pci_dev *dev); +void pci_pme_wakeup_bus(struct pci_bus *bus); int __pci_pme_wakeup(struct pci_dev *dev, void *ign); void pci_pme_restore(struct pci_dev *dev); bool pci_dev_need_resume(struct pci_dev *dev); |