summaryrefslogtreecommitdiff
path: root/drivers/dma
diff options
context:
space:
mode:
authorFancy Fang <chen.fang@freescale.com>2015-11-09 16:19:15 +0800
committerNitin Garg <nitin.garg@nxp.com>2016-01-14 11:02:19 -0600
commitd4c27deefb88136422e07ae97e4c39f551dc036f (patch)
tree8f6f9cbd26d979f66c38f12c99adcc0d76eae1f5 /drivers/dma
parentfe6101e42c8b9d91feb5c1ae10caad7a0eba7928 (diff)
MLK-11841 dma: pxp: change 'CONFIG_PM_RUNTIME' to 'CONFIG_PM'
The 'CONFIG_PM_RUNTIME' has been eliminated and all the users should use 'CONFIG_PM' directly. So do this change for pxp-v2 and pxp-v3. Signed-off-by: Fancy Fang <chen.fang@freescale.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/pxp/pxp_dma_v2.c2
-rw-r--r--drivers/dma/pxp/pxp_dma_v3.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/pxp/pxp_dma_v2.c b/drivers/dma/pxp/pxp_dma_v2.c
index d9e75b8cd471..0b19b9a8557e 100644
--- a/drivers/dma/pxp/pxp_dma_v2.c
+++ b/drivers/dma/pxp/pxp_dma_v2.c
@@ -1818,7 +1818,7 @@ static int pxp_resume(struct device *dev)
#define pxp_resume NULL
#endif
-#ifdef CONFIG_PM_RUNTIME
+#ifdef CONFIG_PM
static int pxp_runtime_suspend(struct device *dev)
{
dev_dbg(dev, "pxp busfreq high release.\n");
diff --git a/drivers/dma/pxp/pxp_dma_v3.c b/drivers/dma/pxp/pxp_dma_v3.c
index 52c61cb3c9b0..848285c8b6c9 100644
--- a/drivers/dma/pxp/pxp_dma_v3.c
+++ b/drivers/dma/pxp/pxp_dma_v3.c
@@ -4429,7 +4429,7 @@ static int pxp_resume(struct device *dev)
#define pxp_resume NULL
#endif
-#ifdef CONFIG_PM_RUNTIME
+#ifdef CONFIG_PM
static int pxp_runtime_suspend(struct device *dev)
{
dev_dbg(dev, "pxp busfreq high release.\n");