Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d6f8aa85 authored by Jeff Garzik's avatar Jeff Garzik Committed by Jeff Garzik
Browse files

[netdrvr] atl1d: fix !CONFIG_PM build



Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent b0e45390
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);