Merge branch 'i2c/for-4.2' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
[firefly-linux-kernel-4.4.55.git] / drivers / ata / pata_cs5536.c
index 32ddcae5a360a387b010db88cf951287ab219bd6..6c15a554efbe1945f79a12aa7588c25cd10be024 100644 (file)
@@ -297,7 +297,7 @@ static struct pci_driver cs5536_pci_driver = {
        .id_table       = cs5536,
        .probe          = cs5536_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