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:
parent
2a64255019
commit
d187c1aab8
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue