Merge remote-tracking branch 'asoc/fix/dapm' into asoc-linus
[firefly-linux-kernel-4.4.55.git] / drivers / ata / pata_rdc.c
index 521b2137ea3e39ccccb35cb78810316bebc26b72..9ce5952216bc6e661da18bbba9b7db6730febd6e 100644 (file)
@@ -382,7 +382,7 @@ static struct pci_driver rdc_pci_driver = {
        .id_table               = rdc_pci_tbl,
        .probe                  = rdc_init_one,
        .remove                 = rdc_remove_one,
-#ifdef CONFIG_PM
+#ifdef CONFIG_PM_SLEEP
        .suspend                = ata_pci_device_suspend,
        .resume                 = ata_pci_device_resume,
 #endif