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:
@@ -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)
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static void atl1c_shutdown(struct pci_dev *pdev)
|
static void atl1c_shutdown(struct pci_dev *pdev)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user