ata: use CONFIG_PM_SLEEP instead of CONFIG_PM where applicable in host drivers
[deliverable/linux.git] / drivers / ata / ata_generic.c
index 9498a7d3846fef6e2c88bdd8596d3f2080e0349e..9ff545ce8da3e922cd8770f464eb7b8b6311a36e 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
This page took 0.02955 seconds and 5 git commands to generate.