diff options
Diffstat (limited to 'drivers/pci/pci.c')
-rw-r--r-- | drivers/pci/pci.c | 6 |
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 | */ |
1127 | pci_power_t pci_target_state(struct pci_dev *dev) | 1133 | pci_power_t pci_target_state(struct pci_dev *dev) |
1128 | { | 1134 | { |