Merge tag 'for-linville-20140717' of git://github.com/kvalo/ath
[linux-2.6-microblaze.git] / drivers / ata / ata_generic.c
index 9498a7d..9ff545c 100644 (file)
@@ -241,7 +241,7 @@ static struct pci_driver ata_generic_pci_driver = {
        .id_table       = ata_generic,
        .probe          = ata_generic_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