--- zzzz-none-000/linux-3.10.107/drivers/ata/pata_jmicron.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/ata/pata_jmicron.c 2021-02-04 17:41:59.000000000 +0000 @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include @@ -158,7 +157,7 @@ .id_table = jmicron_pci_tbl, .probe = jmicron_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