X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Fata%2Fpata_oldpiix.c;h=b9bf78b7d48df0a4405eeffb11a06c3dea6aa31b;hb=98ca74f4d5b44e58d926a38ae160f1ff9573687e;hp=319b64491b7b504fd1fb67350d16e8374fd6cecf;hpb=33c0022f0e687b0161a9bb84a5671df932551e3a;p=firefly-linux-kernel-4.4.55.git diff --git a/drivers/ata/pata_oldpiix.c b/drivers/ata/pata_oldpiix.c index 319b64491b7b..b9bf78b7d48d 100644 --- a/drivers/ata/pata_oldpiix.c +++ b/drivers/ata/pata_oldpiix.c @@ -258,7 +258,7 @@ static struct pci_driver oldpiix_pci_driver = { .id_table = oldpiix_pci_tbl, .probe = oldpiix_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