diff options
author | David S. Miller <davem@davemloft.net> | 2011-05-19 18:44:41 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-19 18:44:41 -0400 |
commit | d187c1aab8d30771bb781c745b150f6159467d6f (patch) | |
tree | 6aac0f68c7bd1f80874ca9453d61ebb5320292ff /drivers | |
parent | 2a64255019e13dd975f1487cec32b873bcb76da6 (diff) |
atl1c: atl1c_resume() is only used when CONFIG_PM_SLEEP is defined.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/atl1c/atl1c_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/atl1c/atl1c_main.c b/drivers/net/atl1c/atl1c_main.c index 48868de386a0..1269ba5d6e56 100644 --- a/drivers/net/atl1c/atl1c_main.c +++ b/drivers/net/atl1c/atl1c_main.c | |||
@@ -2537,6 +2537,7 @@ static int atl1c_suspend(struct device *dev) | |||
2537 | return 0; | 2537 | return 0; |
2538 | } | 2538 | } |
2539 | 2539 | ||
2540 | #ifdef CONFIG_PM_SLEEP | ||
2540 | static int atl1c_resume(struct device *dev) | 2541 | static int atl1c_resume(struct device *dev) |
2541 | { | 2542 | { |
2542 | struct pci_dev *pdev = to_pci_dev(dev); | 2543 | struct pci_dev *pdev = to_pci_dev(dev); |
@@ -2563,6 +2564,7 @@ static int atl1c_resume(struct device *dev) | |||
2563 | 2564 | ||
2564 | return 0; | 2565 | return 0; |
2565 | } | 2566 | } |
2567 | #endif | ||
2566 | 2568 | ||
2567 | static void atl1c_shutdown(struct pci_dev *pdev) | 2569 | static void atl1c_shutdown(struct pci_dev *pdev) |
2568 | { | 2570 | { |