--- zzzz-none-000/linux-3.10.107/drivers/ata/pata_efar.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/ata/pata_efar.c 2021-02-04 17:41:59.000000000 +0000 @@ -14,7 +14,6 @@ #include #include #include -#include #include #include #include @@ -289,7 +288,7 @@ .id_table = efar_pci_tbl, .probe = efar_init_one, .remove = ata_pci_remove_one, -#ifdef CONFIG_PM +#ifdef CONFIG_PM_SLEEP .suspend = ata_pci_device_suspend, .resume = ata_pci_device_resume, #endif