projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0eb5a34
)
e1000: keep .suspend and .resume driver methods in CONFIG_PM
author
Auke Kok
<auke\-jan.h.kok@intel.com>
Wed, 27 Sep 2006 19:53:19 +0000
(12:53 -0700)
committer
Auke Kok
<juke-jan.h.kok@intel.com>
Wed, 27 Sep 2006 19:53:19 +0000
(12:53 -0700)
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
drivers/net/e1000/e1000_main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/e1000/e1000_main.c
b/drivers/net/e1000/e1000_main.c
index bd673802e8ce1a71fc48d71ba311b56c03f91a75..0aaf9afe31ec35655126f3c0a1965ae0e2746b51 100644
(file)
--- a/
drivers/net/e1000/e1000_main.c
+++ b/
drivers/net/e1000/e1000_main.c
@@
-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,