diff options
Diffstat (limited to 'drivers/net/e1000')
-rw-r--r-- | drivers/net/e1000/e1000_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index 6b72f6acdd54..a0023f357cb1 100644 --- a/drivers/net/e1000/e1000_main.c +++ b/drivers/net/e1000/e1000_main.c | |||
@@ -4193,6 +4193,7 @@ e1000_set_spd_dplx(struct e1000_adapter *adapter, uint16_t spddplx) | |||
4193 | return 0; | 4193 | return 0; |
4194 | } | 4194 | } |
4195 | 4195 | ||
4196 | #ifdef CONFIG_PM | ||
4196 | static int | 4197 | static int |
4197 | e1000_suspend(struct pci_dev *pdev, pm_message_t state) | 4198 | e1000_suspend(struct pci_dev *pdev, pm_message_t state) |
4198 | { | 4199 | { |
@@ -4289,7 +4290,6 @@ e1000_suspend(struct pci_dev *pdev, pm_message_t state) | |||
4289 | return 0; | 4290 | return 0; |
4290 | } | 4291 | } |
4291 | 4292 | ||
4292 | #ifdef CONFIG_PM | ||
4293 | static int | 4293 | static int |
4294 | e1000_resume(struct pci_dev *pdev) | 4294 | e1000_resume(struct pci_dev *pdev) |
4295 | { | 4295 | { |