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:
Auke Kok 2006-09-27 12:53:19 -07:00 committed by Auke Kok
parent 0eb5a34cdf
commit c4e24f01f1
1 changed files with 1 additions and 1 deletions

View File

@ -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,