ata: use CONFIG_PM_SLEEP instead of CONFIG_PM where applicable in host drivers
[deliverable/linux.git] / drivers / ata / pata_piccolo.c
index 0b46be11705169b0cb8150d2a3792be72caae3c2..35cb0e2632379e8f0ca8c11fde4f8ab2a7d41790 100644 (file)
@@ -110,7 +110,7 @@ static struct pci_driver ata_tosh_pci_driver = {
        .id_table       = ata_tosh,
        .probe          = ata_tosh_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.023597 seconds and 5 git commands to generate.