summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@hobbes.lan>2008-07-28 22:49:26 +0400
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-07-28 22:49:26 +0400
commit37139074233a5bbec54ae01ab580e5788a248cc3 (patch)
tree70f513c5d2c111a1c4dde46a7b23896f65cb96ec /drivers/pci
parent56adc59d81b01ac5924f7eba6e22adc762a1e2c6 (diff)
downloadlinux-37139074233a5bbec54ae01ab580e5788a248cc3.tar.xz
PCI: document pci_target_state
The empty kdoc was causing warnings, so provide some actual documentation. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/pci.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index e9c356236d27..c95f77d65718 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -1123,6 +1123,12 @@ int pci_enable_wake(struct pci_dev *dev, pci_power_t state, int enable)
}
/**
+ * pci_target_state - find an appropriate low power state for a given PCI dev
+ * @dev: PCI device
+ *
+ * Use underlying platform code to find a supported low power state for @dev.
+ * If the platform can't manage @dev, return the deepest state from which it
+ * can generate wake events, based on any available PME info.
*/
pci_power_t pci_target_state(struct pci_dev *dev)
{