From 920b4de160f30c5fd09a61386ad75f3aff98d4cc Mon Sep 17 00:00:00 2001 From: Fancy Fang Date: Mon, 9 Nov 2015 16:19:15 +0800 Subject: [PATCH] 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 --- drivers/dma/pxp/pxp_dma_v2.c | 2 +- drivers/dma/pxp/pxp_dma_v3.c | 2 +- 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"); -- 2.17.1