diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2018-03-09 18:06:53 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2018-03-12 15:15:39 +0100 |
commit | dcb0453d71e361d4718bb566d99e6ae498284419 (patch) | |
tree | 2bcbd1552a80d82d3588d56595e7ca09c872b6d7 /drivers/pci/pci.h | |
parent | PCI/portdrv: Merge pcieport_if.h into portdrv.h (diff) | |
download | linux-dcb0453d71e361d4718bb566d99e6ae498284419.tar.xz linux-dcb0453d71e361d4718bb566d99e6ae498284419.zip |
PCI/PM: Move pcie_clear_root_pme_status() to core
Move pcie_clear_root_pme_status() from the port driver to the PCI core so
it will be available even when the port driver isn't present. No
functional change intended.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/pci/pci.h')
-rw-r--r-- | drivers/pci/pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index fcd81911b127..813ca2c895d8 100644 --- a/drivers/pci/pci.h +++ b/drivers/pci/pci.h @@ -71,6 +71,7 @@ void pci_update_current_state(struct pci_dev *dev, pci_power_t state); 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); int __pci_pme_wakeup(struct pci_dev *dev, void *ign); void pci_pme_restore(struct pci_dev *dev); bool pci_dev_keep_suspended(struct pci_dev *dev); |