|
@@ -6235,6 +6235,7 @@ static int __e1000_resume(struct pci_dev *pdev)
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+#ifdef CONFIG_PM_SLEEP
|
|
static int e1000e_pm_thaw(struct device *dev)
|
|
static int e1000e_pm_thaw(struct device *dev)
|
|
{
|
|
{
|
|
struct net_device *netdev = pci_get_drvdata(to_pci_dev(dev));
|
|
struct net_device *netdev = pci_get_drvdata(to_pci_dev(dev));
|
|
@@ -6255,7 +6256,6 @@ static int e1000e_pm_thaw(struct device *dev)
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
-#ifdef CONFIG_PM_SLEEP
|
|
|
|
static int e1000e_pm_suspend(struct device *dev)
|
|
static int e1000e_pm_suspend(struct device *dev)
|
|
{
|
|
{
|
|
struct pci_dev *pdev = to_pci_dev(dev);
|
|
struct pci_dev *pdev = to_pci_dev(dev);
|