mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue