Merge branch 'next' into for-linus
[cascardo/linux.git] / drivers / ata / pata_optidma.c
index bb71ea2..bdec7ef 100644 (file)
@@ -440,7 +440,7 @@ static struct pci_driver optidma_pci_driver = {
        .id_table       = optidma,
        .probe          = optidma_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