]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/ata/pata_samsung_cf.c
ata: use CONFIG_PM_SLEEP instead of CONFIG_PM where applicable in host drivers
[mirror_ubuntu-bionic-kernel.git] / drivers / ata / pata_samsung_cf.c
index a79566d056666f0d0449785856b679492d71456b..cab8e6024b427ada44f4b80dc99de04f2148be5a 100644 (file)
@@ -615,7 +615,7 @@ static int __exit pata_s3c_remove(struct platform_device *pdev)
        return 0;
 }
 
-#ifdef CONFIG_PM
+#ifdef CONFIG_PM_SLEEP
 static int pata_s3c_suspend(struct device *dev)
 {
        struct platform_device *pdev = to_platform_device(dev);
@@ -666,7 +666,7 @@ static struct platform_driver pata_s3c_driver = {
        .driver         = {
                .name   = DRV_NAME,
                .owner  = THIS_MODULE,
-#ifdef CONFIG_PM
+#ifdef CONFIG_PM_SLEEP
                .pm     = &pata_s3c_pm_ops,
 #endif
        },