--- zzzz-none-000/linux-3.10.107/drivers/ata/pata_piccolo.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/ata/pata_piccolo.c 2021-02-04 17:41:59.000000000 +0000 @@ -18,7 +18,6 @@ #include #include #include -#include #include #include #include @@ -111,7 +110,7 @@ .id_table = ata_tosh, .probe = ata_tosh_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