===================================================================
@@ -1840,6 +1840,7 @@ int pci_finish_runtime_suspend(struct pc
return error;
}
+EXPORT_SYMBOL_GPL(pci_finish_runtime_suspend);
/**
* pci_dev_run_wake - Check if device can generate run-time wake-up events.
===================================================================
@@ -64,7 +64,6 @@ extern int pci_set_platform_pm(struct pc
extern void pci_update_current_state(struct pci_dev *dev, pci_power_t state);
extern void pci_power_up(struct pci_dev *dev);
extern void pci_disable_enabled_device(struct pci_dev *dev);
-extern int pci_finish_runtime_suspend(struct pci_dev *dev);
extern int __pci_pme_wakeup(struct pci_dev *dev, void *ign);
extern void pci_wakeup_bus(struct pci_bus *bus);
extern void pci_config_pm_runtime_get(struct pci_dev *dev);
===================================================================
@@ -936,6 +936,7 @@ int pci_back_from_sleep(struct pci_dev *
bool pci_dev_run_wake(struct pci_dev *dev);
bool pci_check_pme_status(struct pci_dev *dev);
void pci_pme_wakeup_bus(struct pci_bus *bus);
+int pci_finish_runtime_suspend(struct pci_dev *dev);
static inline int pci_enable_wake(struct pci_dev *dev, pci_power_t state,
bool enable)
===================================================================
@@ -5696,6 +5696,7 @@ static int e1000_runtime_suspend(struct
bool wake;
__e1000_shutdown(pdev, &wake, true);
+ pci_finish_runtime_suspend(pdev);
}
return 0;