Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 112266
b: refs/heads/master
c: 1765f95
h: refs/heads/master
v: v3
  • Loading branch information
Francois Romieu committed Oct 10, 2008
1 parent d3f39f8 commit 14c1a79
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5b538df9dedb3469b688b93ffab2a7efb64c88e3
refs/heads/master: 1765f95d2db0a516b5816e016fdf459c4bb5affb
6 changes: 6 additions & 0 deletions trunk/drivers/net/r8169.c
Original file line number Diff line number Diff line change
Expand Up @@ -3874,6 +3874,11 @@ static int rtl8169_resume(struct pci_dev *pdev)
return 0;
}

static void rtl_shutdown(struct pci_dev *pdev)
{
rtl8169_suspend(pdev, PMSG_SUSPEND);
}

#endif /* CONFIG_PM */

static struct pci_driver rtl8169_pci_driver = {
Expand All @@ -3884,6 +3889,7 @@ static struct pci_driver rtl8169_pci_driver = {
#ifdef CONFIG_PM
.suspend = rtl8169_suspend,
.resume = rtl8169_resume,
.shutdown = rtl_shutdown,
#endif
};

Expand Down

0 comments on commit 14c1a79

Please sign in to comment.