aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_rcar.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/sata_rcar.c')
-rw-r--r--drivers/ata/sata_rcar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/sata_rcar.c b/drivers/ata/sata_rcar.c
index 2b25bd83fc9d..61eb6d77dac7 100644
--- a/drivers/ata/sata_rcar.c
+++ b/drivers/ata/sata_rcar.c
@@ -937,7 +937,7 @@ static int sata_rcar_remove(struct platform_device *pdev)
937 return 0; 937 return 0;
938} 938}
939 939
940#ifdef CONFIG_PM 940#ifdef CONFIG_PM_SLEEP
941static int sata_rcar_suspend(struct device *dev) 941static int sata_rcar_suspend(struct device *dev)
942{ 942{
943 struct ata_host *host = dev_get_drvdata(dev); 943 struct ata_host *host = dev_get_drvdata(dev);
@@ -991,7 +991,7 @@ static struct platform_driver sata_rcar_driver = {
991 .name = DRV_NAME, 991 .name = DRV_NAME,
992 .owner = THIS_MODULE, 992 .owner = THIS_MODULE,
993 .of_match_table = sata_rcar_match, 993 .of_match_table = sata_rcar_match,
994#ifdef CONFIG_PM 994#ifdef CONFIG_PM_SLEEP
995 .pm = &sata_rcar_pm_ops, 995 .pm = &sata_rcar_pm_ops,
996#endif 996#endif
997 }, 997 },