|
@@ -850,7 +850,7 @@ static int dln2_spi_resume(struct device *dev)
|
|
|
}
|
|
}
|
|
|
#endif /* CONFIG_PM_SLEEP */
|
|
#endif /* CONFIG_PM_SLEEP */
|
|
|
|
|
|
|
|
-#ifdef CONFIG_PM_RUNTIME
|
|
|
|
|
|
|
+#ifdef CONFIG_PM
|
|
|
static int dln2_spi_runtime_suspend(struct device *dev)
|
|
static int dln2_spi_runtime_suspend(struct device *dev)
|
|
|
{
|
|
{
|
|
|
struct spi_master *master = dev_get_drvdata(dev);
|
|
struct spi_master *master = dev_get_drvdata(dev);
|