aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/pci.c')
-rw-r--r--drivers/pci/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 6e309c8b47df..e491fdedf705 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -527,7 +527,7 @@ pci_raw_set_power_state(struct pci_dev *dev, pci_power_t state)
527 * @dev: PCI device to handle. 527 * @dev: PCI device to handle.
528 * @state: State to cache in case the device doesn't have the PM capability 528 * @state: State to cache in case the device doesn't have the PM capability
529 */ 529 */
530static void pci_update_current_state(struct pci_dev *dev, pci_power_t state) 530void pci_update_current_state(struct pci_dev *dev, pci_power_t state)
531{ 531{
532 if (dev->pm_cap) { 532 if (dev->pm_cap) {
533 u16 pmcsr; 533 u16 pmcsr;