]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/ata/sata_rcar.c
Merge tag 'clk-for-linus-3.16-part2' of git://git.linaro.org/people/mike.turquette...
[karo-tx-linux.git] / drivers / ata / sata_rcar.c
index 2b25bd83fc9d46a2682a0affb409ccf7488abe3d..61eb6d77dac7f507403578a283eade305378f566 100644 (file)
@@ -937,7 +937,7 @@ static int sata_rcar_remove(struct platform_device *pdev)
        return 0;
 }
 
-#ifdef CONFIG_PM
+#ifdef CONFIG_PM_SLEEP
 static int sata_rcar_suspend(struct device *dev)
 {
        struct ata_host *host = dev_get_drvdata(dev);
@@ -991,7 +991,7 @@ static struct platform_driver sata_rcar_driver = {
                .name           = DRV_NAME,
                .owner          = THIS_MODULE,
                .of_match_table = sata_rcar_match,
-#ifdef CONFIG_PM
+#ifdef CONFIG_PM_SLEEP
                .pm             = &sata_rcar_pm_ops,
 #endif
        },