]> git.ipfire.org Git - people/ms/linux.git/blobdiff - drivers/ata/pata_oldpiix.c
Merge tag 'devicetree-fixes-for-4.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel...
[people/ms/linux.git] / drivers / ata / pata_oldpiix.c
index 319b64491b7b504fd1fb67350d16e8374fd6cecf..b9bf78b7d48df0a4405eeffb11a06c3dea6aa31b 100644 (file)
@@ -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