spi/dln2: Fix for PM_RUNTIME removal
authorMark Brown <broonie@kernel.org>
Tue, 23 Dec 2014 00:27:41 +0000 (00:27 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 23 Dec 2014 00:27:41 +0000 (00:27 +0000)
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dln2.c

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