Skip to content

Commit

Permalink
atl1c: atl1c_resume() is only used when CONFIG_PM_SLEEP is defined.
Browse files Browse the repository at this point in the history
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed May 19, 2011
1 parent 2a64255 commit d187c1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/atl1c/atl1c_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -2563,6 +2564,7 @@ static int atl1c_resume(struct device *dev)

return 0;
}
#endif

static void atl1c_shutdown(struct pci_dev *pdev)
{
Expand Down

0 comments on commit d187c1a

Please sign in to comment.