diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-10-10 10:26:45 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-12-07 17:05:53 +0200 |
commit | 8dd2491a4216778a81668581041ba1c06453ed6c (patch) | |
tree | 9f33e6a52bb4b7adc781de3763e6c87304c25a4f /drivers/video/omap2/dss/core.c | |
parent | 6b6f1edfdb6c41e630e4a70d64a8e8817b3170c2 (diff) | |
download | op-kernel-dev-8dd2491a4216778a81668581041ba1c06453ed6c.zip op-kernel-dev-8dd2491a4216778a81668581041ba1c06453ed6c.tar.gz |
OMAPDSS: add omapdss_compat_init()
Add two new exported functions, omapdss_compat_init and
omapdss_compat_uninit, which are to be used by omapfb, omap_vout to
enable compatibility mode for omapdss. The functions are called by
omapdss internally for now, and moved to other drivers later.
The compatibility mode is implemented fully in the following patches.
For now, enabling compat mode only sets up the private data in apply.c.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/core.c')
-rw-r--r-- | drivers/video/omap2/dss/core.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/video/omap2/dss/core.c b/drivers/video/omap2/dss/core.c index 5c5e591..86c743f 100644 --- a/drivers/video/omap2/dss/core.c +++ b/drivers/video/omap2/dss/core.c @@ -232,7 +232,7 @@ static int __init omap_dss_probe(struct platform_device *pdev) dss_features_init(omapdss_get_version()); - dss_apply_init(); + omapdss_compat_init(); dss_init_overlay_managers(pdev); dss_init_overlays(pdev); @@ -264,6 +264,8 @@ static int omap_dss_remove(struct platform_device *pdev) dss_uninit_overlays(pdev); dss_uninit_overlay_managers(pdev); + omapdss_compat_uninit(); + return 0; } |