summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-dln2.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2014-12-23 03:27:41 +0300
committerMark Brown <broonie@kernel.org>2014-12-23 03:27:41 +0300
commitb2e5dda14fbc2ca1155c614c500c6de6f5b4ba8c (patch)
tree3518826a7e4f24d575379e3571dabfd42978d49c /drivers/spi/spi-dln2.c
parent3d8c0d749da326310a525d19e1a7aef83ae872b3 (diff)
downloadlinux-b2e5dda14fbc2ca1155c614c500c6de6f5b4ba8c.tar.xz
spi/dln2: Fix for PM_RUNTIME removal
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-dln2.c')
-rw-r--r--drivers/spi/spi-dln2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-dln2.c b/drivers/spi/spi-dln2.c
index 7b3545469469..cede0633c05a 100644
--- a/drivers/spi/spi-dln2.c
+++ b/drivers/spi/spi-dln2.c
@@ -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);