Commit d187c1aa authored by David S. Miller's avatar David S. Miller

atl1c: atl1c_resume() is only used when CONFIG_PM_SLEEP is defined.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2a642550
...@@ -2537,6 +2537,7 @@ static int atl1c_suspend(struct device *dev) ...@@ -2537,6 +2537,7 @@ static int atl1c_suspend(struct device *dev)
return 0; return 0;
} }
#ifdef CONFIG_PM_SLEEP
static int atl1c_resume(struct device *dev) static int atl1c_resume(struct device *dev)
{ {
struct pci_dev *pdev = to_pci_dev(dev); struct pci_dev *pdev = to_pci_dev(dev);
...@@ -2563,6 +2564,7 @@ static int atl1c_resume(struct device *dev) ...@@ -2563,6 +2564,7 @@ static int atl1c_resume(struct device *dev)
return 0; return 0;
} }
#endif
static void atl1c_shutdown(struct pci_dev *pdev) static void atl1c_shutdown(struct pci_dev *pdev)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment