mirror of https://gitee.com/openkylin/linux.git
e1000: keep .suspend and .resume driver methods in CONFIG_PM
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
This commit is contained in:
parent
0eb5a34cdf
commit
c4e24f01f1
|
@ -211,9 +211,9 @@ static struct pci_driver e1000_driver = {
|
|||
.id_table = e1000_pci_tbl,
|
||||
.probe = e1000_probe,
|
||||
.remove = __devexit_p(e1000_remove),
|
||||
#ifdef CONFIG_PM
|
||||
/* Power Managment Hooks */
|
||||
.suspend = e1000_suspend,
|
||||
#ifdef CONFIG_PM
|
||||
.resume = e1000_resume,
|
||||
#endif
|
||||
.shutdown = e1000_shutdown,
|
||||
|
|
Loading…
Reference in New Issue