diff options
Diffstat (limited to 'drivers/spi/spi-s3c64xx.c')
-rw-r--r-- | drivers/spi/spi-s3c64xx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index 197bcf093174..37b19836f5cb 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers/spi/spi-s3c64xx.c | |||
@@ -1267,7 +1267,7 @@ static int s3c64xx_spi_resume(struct device *dev) | |||
1267 | } | 1267 | } |
1268 | #endif /* CONFIG_PM_SLEEP */ | 1268 | #endif /* CONFIG_PM_SLEEP */ |
1269 | 1269 | ||
1270 | #ifdef CONFIG_PM_RUNTIME | 1270 | #ifdef CONFIG_PM |
1271 | static int s3c64xx_spi_runtime_suspend(struct device *dev) | 1271 | static int s3c64xx_spi_runtime_suspend(struct device *dev) |
1272 | { | 1272 | { |
1273 | struct spi_master *master = dev_get_drvdata(dev); | 1273 | struct spi_master *master = dev_get_drvdata(dev); |
@@ -1297,7 +1297,7 @@ static int s3c64xx_spi_runtime_resume(struct device *dev) | |||
1297 | 1297 | ||
1298 | return 0; | 1298 | return 0; |
1299 | } | 1299 | } |
1300 | #endif /* CONFIG_PM_RUNTIME */ | 1300 | #endif /* CONFIG_PM */ |
1301 | 1301 | ||
1302 | static const struct dev_pm_ops s3c64xx_spi_pm = { | 1302 | static const struct dev_pm_ops s3c64xx_spi_pm = { |
1303 | SET_SYSTEM_SLEEP_PM_OPS(s3c64xx_spi_suspend, s3c64xx_spi_resume) | 1303 | SET_SYSTEM_SLEEP_PM_OPS(s3c64xx_spi_suspend, s3c64xx_spi_resume) |