aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_fsl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/sata_fsl.c')
-rw-r--r--drivers/ata/sata_fsl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/sata_fsl.c b/drivers/ata/sata_fsl.c
index fb0b40a191c2..e8f150e45446 100644
--- a/drivers/ata/sata_fsl.c
+++ b/drivers/ata/sata_fsl.c
@@ -1588,7 +1588,7 @@ static int sata_fsl_remove(struct platform_device *ofdev)
1588 return 0; 1588 return 0;
1589} 1589}
1590 1590
1591#ifdef CONFIG_PM 1591#ifdef CONFIG_PM_SLEEP
1592static int sata_fsl_suspend(struct platform_device *op, pm_message_t state) 1592static int sata_fsl_suspend(struct platform_device *op, pm_message_t state)
1593{ 1593{
1594 struct ata_host *host = platform_get_drvdata(op); 1594 struct ata_host *host = platform_get_drvdata(op);
@@ -1644,7 +1644,7 @@ static struct platform_driver fsl_sata_driver = {
1644 }, 1644 },
1645 .probe = sata_fsl_probe, 1645 .probe = sata_fsl_probe,
1646 .remove = sata_fsl_remove, 1646 .remove = sata_fsl_remove,
1647#ifdef CONFIG_PM 1647#ifdef CONFIG_PM_SLEEP
1648 .suspend = sata_fsl_suspend, 1648 .suspend = sata_fsl_suspend,
1649 .resume = sata_fsl_resume, 1649 .resume = sata_fsl_resume,
1650#endif 1650#endif