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

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller 2011-05-19 18:44:41 -04:00
parent 2a64255019
commit d187c1aab8
1 changed files with 2 additions and 0 deletions

View File

@ -2537,6 +2537,7 @@ static int atl1c_suspend(struct device *dev)
return 0;
}
#ifdef CONFIG_PM_SLEEP
static int atl1c_resume(struct device *dev)
{
struct pci_dev *pdev = to_pci_dev(dev);
@ -2563,6 +2564,7 @@ static int atl1c_resume(struct device *dev)
return 0;
}
#endif
static void atl1c_shutdown(struct pci_dev *pdev)
{