diff options
-rw-r--r-- | drivers/net/r8169.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c index 02b11a0814dd..bdae2c59a750 100644 --- a/drivers/net/r8169.c +++ b/drivers/net/r8169.c | |||
@@ -3874,6 +3874,11 @@ out: | |||
3874 | return 0; | 3874 | return 0; |
3875 | } | 3875 | } |
3876 | 3876 | ||
3877 | static void rtl_shutdown(struct pci_dev *pdev) | ||
3878 | { | ||
3879 | rtl8169_suspend(pdev, PMSG_SUSPEND); | ||
3880 | } | ||
3881 | |||
3877 | #endif /* CONFIG_PM */ | 3882 | #endif /* CONFIG_PM */ |
3878 | 3883 | ||
3879 | static struct pci_driver rtl8169_pci_driver = { | 3884 | static struct pci_driver rtl8169_pci_driver = { |
@@ -3884,6 +3889,7 @@ static struct pci_driver rtl8169_pci_driver = { | |||
3884 | #ifdef CONFIG_PM | 3889 | #ifdef CONFIG_PM |
3885 | .suspend = rtl8169_suspend, | 3890 | .suspend = rtl8169_suspend, |
3886 | .resume = rtl8169_resume, | 3891 | .resume = rtl8169_resume, |
3892 | .shutdown = rtl_shutdown, | ||
3887 | #endif | 3893 | #endif |
3888 | }; | 3894 | }; |
3889 | 3895 | ||