aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@hobbes.lan>2008-07-28 14:49:26 -0400
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-07-28 14:49:26 -0400
commit37139074233a5bbec54ae01ab580e5788a248cc3 (patch)
tree70f513c5d2c111a1c4dde46a7b23896f65cb96ec
parent56adc59d81b01ac5924f7eba6e22adc762a1e2c6 (diff)
PCI: document pci_target_state
The empty kdoc was causing warnings, so provide some actual documentation. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
-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)
1123} 1123}
1124 1124
1125/** 1125/**
1126 * pci_target_state - find an appropriate low power state for a given PCI dev
1127 * @dev: PCI device
1128 *
1129 * Use underlying platform code to find a supported low power state for @dev.
1130 * If the platform can't manage @dev, return the deepest state from which it
1131 * can generate wake events, based on any available PME info.
1126 */ 1132 */
1127pci_power_t pci_target_state(struct pci_dev *dev) 1133pci_power_t pci_target_state(struct pci_dev *dev)
1128{ 1134{