diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-11-04 10:22:46 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-12-02 08:54:31 +0200 |
commit | 7797c6da64852b06b585b7eca8d3f657bfc9fa47 (patch) | |
tree | 560338e72d4a498e9a0164dbf0da8b54ff4ae3a1 /drivers/video/omap2/dss/venc.c | |
parent | 58f2554807a7dc627f1583d1d4363b85758cf685 (diff) | |
download | linux-7797c6da64852b06b585b7eca8d3f657bfc9fa47.tar.gz linux-7797c6da64852b06b585b7eca8d3f657bfc9fa47.tar.bz2 linux-7797c6da64852b06b585b7eca8d3f657bfc9fa47.zip |
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/venc.c')
-rw-r--r-- | drivers/video/omap2/dss/venc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/omap2/dss/venc.c b/drivers/video/omap2/dss/venc.c index 7533458ba4d2..101fcd77a50d 100644 --- a/drivers/video/omap2/dss/venc.c +++ b/drivers/video/omap2/dss/venc.c @@ -447,7 +447,7 @@ static void venc_power_on(struct omap_dss_device *dssdev) if (dssdev->platform_enable) dssdev->platform_enable(dssdev); - dssdev->manager->enable(dssdev->manager); + dss_mgr_enable(dssdev->manager); } static void venc_power_off(struct omap_dss_device *dssdev) @@ -455,7 +455,7 @@ static void venc_power_off(struct omap_dss_device *dssdev) venc_write_reg(VENC_OUTPUT_CONTROL, 0); dss_set_dac_pwrdn_bgz(0); - dssdev->manager->disable(dssdev->manager); + dss_mgr_disable(dssdev->manager); if (dssdev->platform_disable) dssdev->platform_disable(dssdev); |