summaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorMatthew Garrett <mjg@redhat.com>2010-10-04 14:22:26 -0400
committerJesse Barnes <jbarnes@virtuousgeek.org>2010-10-17 20:03:06 -0700
commitbf4d29086972ceaeaf72544d8f64933c2cfdc992 (patch)
tree301ee83217bc9a19cef5c7569801095b4d6f89b4 /include/linux/pci.h
parent1bcd495be9ed3194f618e8af0446459dc52a1423 (diff)
downloadop-kernel-dev-bf4d29086972ceaeaf72544d8f64933c2cfdc992.zip
op-kernel-dev-bf4d29086972ceaeaf72544d8f64933c2cfdc992.tar.gz
PCI: Export some PCI PM functionality
It's helpful to have some extra PCI power management functions available to platform code, so move the declarations to an exported header. Acked-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Matthew Garrett <mjg@redhat.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r--include/linux/pci.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 30faf4f..7454408 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -819,6 +819,9 @@ pci_power_t pci_target_state(struct pci_dev *dev);
int pci_prepare_to_sleep(struct pci_dev *dev);
int pci_back_from_sleep(struct pci_dev *dev);
bool pci_dev_run_wake(struct pci_dev *dev);
+bool pci_check_pme_status(struct pci_dev *dev);
+void pci_wakeup_event(struct pci_dev *dev);
+void pci_pme_wakeup_bus(struct pci_bus *bus);
static inline int pci_enable_wake(struct pci_dev *dev, pci_power_t state,
bool enable)
OpenPOWER on IntegriCloud