ata: use CONFIG_PM_SLEEP instead of CONFIG_PM where applicable in host drivers
[deliverable/linux.git] / drivers / ata / pata_jmicron.c
index b1cfa0258fd38017337e345b5095677a50567133..4d1a5d2c4287f2979c34a2913c0cb4018f573776 100644 (file)
@@ -157,7 +157,7 @@ static struct pci_driver jmicron_pci_driver = {
        .id_table               = jmicron_pci_tbl,
        .probe                  = jmicron_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
This page took 0.0243 seconds and 5 git commands to generate.