aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/dsi.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-11-04 04:22:46 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-12-02 01:54:31 -0500
commit7797c6da64852b06b585b7eca8d3f657bfc9fa47 (patch)
tree560338e72d4a498e9a0164dbf0da8b54ff4ae3a1 /drivers/video/omap2/dss/dsi.c
parent58f2554807a7dc627f1583d1d4363b85758cf685 (diff)
OMAPDSS: hide manager's enable/disable()
omap_overlay_manager struct contains enable() and disable() functions. However, these are only meant to be used from inside omapdss, and thus it's bad to expose the functions. This patch adds dss_mgr_enable() and dss_mgr_disable() functions to apply.c, which handle enabling and disabling the output. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dsi.c')
-rw-r--r--drivers/video/omap2/dss/dsi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/omap2/dss/dsi.c b/drivers/video/omap2/dss/dsi.c
index 101e3b8e178b..9358afa2a77e 100644
--- a/drivers/video/omap2/dss/dsi.c
+++ b/drivers/video/omap2/dss/dsi.c
@@ -4010,7 +4010,7 @@ int dsi_video_mode_enable(struct omap_dss_device *dssdev, int channel)
4010 dsi_vc_enable(dsidev, channel, true); 4010 dsi_vc_enable(dsidev, channel, true);
4011 dsi_if_enable(dsidev, true); 4011 dsi_if_enable(dsidev, true);
4012 4012
4013 dssdev->manager->enable(dssdev->manager); 4013 dss_mgr_enable(dssdev->manager);
4014 4014
4015 return 0; 4015 return 0;
4016} 4016}
@@ -4029,7 +4029,7 @@ void dsi_video_mode_disable(struct omap_dss_device *dssdev, int channel)
4029 dsi_vc_enable(dsidev, channel, true); 4029 dsi_vc_enable(dsidev, channel, true);
4030 dsi_if_enable(dsidev, true); 4030 dsi_if_enable(dsidev, true);
4031 4031
4032 dssdev->manager->disable(dssdev->manager); 4032 dss_mgr_disable(dssdev->manager);
4033} 4033}
4034EXPORT_SYMBOL(dsi_video_mode_disable); 4034EXPORT_SYMBOL(dsi_video_mode_disable);
4035 4035