MLK-11841 dma: pxp: change 'CONFIG_PM_RUNTIME' to 'CONFIG_PM'
authorFancy Fang <chen.fang@freescale.com>
Mon, 9 Nov 2015 08:19:15 +0000 (16:19 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:49:12 +0000 (14:49 -0500)
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>
drivers/dma/pxp/pxp_dma_v2.c
drivers/dma/pxp/pxp_dma_v3.c

index d9e75b8..0b19b9a 100644 (file)
@@ -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");
index 52c61cb..848285c 100644 (file)
@@ -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");