Skip to content

Commit

Permalink
[netdrvr] atl1d: fix !CONFIG_PM build
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
  • Loading branch information
Jeff Garzik authored and Jeff Garzik committed Jul 23, 2008
1 parent b0e4539 commit d6f8aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/atl1e/atl1e_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit d6f8aa8

Please sign in to comment.