aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/spi/spi-s3c64xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c
index a17ca06381ae..682b1e738370 100644
--- a/drivers/spi/spi-s3c64xx.c
+++ b/drivers/spi/spi-s3c64xx.c
@@ -1358,7 +1358,7 @@ static int s3c64xx_spi_remove(struct platform_device *pdev)
1358 return 0; 1358 return 0;
1359} 1359}
1360 1360
1361#ifdef CONFIG_PM 1361#ifdef CONFIG_PM_SLEEP
1362static int s3c64xx_spi_suspend(struct device *dev) 1362static int s3c64xx_spi_suspend(struct device *dev)
1363{ 1363{
1364 struct spi_master *master = dev_get_drvdata(dev); 1364 struct spi_master *master = dev_get_drvdata(dev);
@@ -1399,7 +1399,7 @@ static int s3c64xx_spi_resume(struct device *dev)
1399 1399
1400 return 0; 1400 return 0;
1401} 1401}
1402#endif /* CONFIG_PM */ 1402#endif /* CONFIG_PM_SLEEP */
1403 1403
1404#ifdef CONFIG_PM_RUNTIME 1404#ifdef CONFIG_PM_RUNTIME
1405static int s3c64xx_spi_runtime_suspend(struct device *dev) 1405static int s3c64xx_spi_runtime_suspend(struct device *dev)