From: Auke Kok Date: Wed, 27 Sep 2006 19:53:19 +0000 (-0700) Subject: e1000: keep .suspend and .resume driver methods in CONFIG_PM X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c4e24f01f18f6cea422552caec2fdbf5765a7c7c;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git e1000: keep .suspend and .resume driver methods in CONFIG_PM Signed-off-by: Auke Kok --- diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index bd673802e8ce..0aaf9afe31ec 100644 --- 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,