提交 d187c1aa 编写于 作者: D David S. Miller

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

Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 2a642550
......@@ -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)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册