|
@@ -1358,7 +1358,7 @@ static int s3c64xx_spi_remove(struct platform_device *pdev)
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
-#ifdef CONFIG_PM
|
|
|
|
|
|
+#ifdef CONFIG_PM_SLEEP
|
|
static int s3c64xx_spi_suspend(struct device *dev)
|
|
static int s3c64xx_spi_suspend(struct device *dev)
|
|
{
|
|
{
|
|
struct spi_master *master = dev_get_drvdata(dev);
|
|
struct spi_master *master = dev_get_drvdata(dev);
|
|
@@ -1399,7 +1399,7 @@ static int s3c64xx_spi_resume(struct device *dev)
|
|
|
|
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
-#endif /* CONFIG_PM */
|
|
|
|
|
|
+#endif /* CONFIG_PM_SLEEP */
|
|
|
|
|
|
#ifdef CONFIG_PM_RUNTIME
|
|
#ifdef CONFIG_PM_RUNTIME
|
|
static int s3c64xx_spi_runtime_suspend(struct device *dev)
|
|
static int s3c64xx_spi_runtime_suspend(struct device *dev)
|