MLK-11842 video: epdc: change 'CONFIG_PM_RUNTIME' to 'CONFIG_PM'
authorFancy Fang <chen.fang@freescale.com>
Mon, 9 Nov 2015 08:23:28 +0000 (16:23 +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 epdc and
epdc-v2.

Signed-off-by: Fancy Fang <chen.fang@freescale.com>
drivers/video/fbdev/mxc/mxc_epdc_fb.c
drivers/video/fbdev/mxc/mxc_epdc_v2_fb.c

index 6061cc7..4ba8e57 100644 (file)
@@ -5176,7 +5176,7 @@ static int mxc_epdc_fb_resume(struct device *dev)
 #define mxc_epdc_fb_resume     NULL
 #endif
 
-#ifdef CONFIG_PM_RUNTIME
+#ifdef CONFIG_PM
 static int mxc_epdc_fb_runtime_suspend(struct device *dev)
 {
        release_bus_freq(BUS_FREQ_HIGH);
index 0e3e66e..4a1a474 100644 (file)
@@ -5703,7 +5703,7 @@ static int mxc_epdc_fb_resume(struct device *dev)
 #define mxc_epdc_fb_resume     NULL
 #endif
 
-#ifdef CONFIG_PM_RUNTIME
+#ifdef CONFIG_PM
 static int mxc_epdc_fb_runtime_suspend(struct device *dev)
 {
        release_bus_freq(BUS_FREQ_HIGH);