提交 d6f8aa85 编写于 作者: J Jeff Garzik 提交者: Jeff Garzik

[netdrvr] atl1d: fix !CONFIG_PM build

Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
上级 b0e45390
......@@ -2073,7 +2073,6 @@ static int atl1e_close(struct net_device *netdev)
return 0;
}
#ifdef CONFIG_PM
static int atl1e_suspend(struct pci_dev *pdev, pm_message_t state)
{
struct net_device *netdev = pci_get_drvdata(pdev);
......@@ -2207,6 +2206,7 @@ static int atl1e_suspend(struct pci_dev *pdev, pm_message_t state)
return 0;
}
#ifdef CONFIG_PM
static int atl1e_resume(struct pci_dev *pdev)
{
struct net_device *netdev = pci_get_drvdata(pdev);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册