OMAPDSS: DISPC: make dispc_ovl_set_channel_out() public
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 28 Oct 2011 12:26:26 +0000 (15:26 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 2 Dec 2011 06:54:22 +0000 (08:54 +0200)
Make dispc_ovl_set_channel_out() public so that later patches can handle
changing overlay's manager.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dispc.c
drivers/video/omap2/dss/dss.h

index 5bbd838a657afdd29c252b6d220d7877c0b1313c..5130f88516a0567db1a420a81c7492206ca50dfb 100644 (file)
@@ -875,8 +875,7 @@ static void dispc_ovl_set_color_mode(enum omap_plane plane,
        REG_FLD_MOD(DISPC_OVL_ATTRIBUTES(plane), m, 4, 1);
 }
 
-static void dispc_ovl_set_channel_out(enum omap_plane plane,
-               enum omap_channel channel)
+void dispc_ovl_set_channel_out(enum omap_plane plane, enum omap_channel channel)
 {
        int shift;
        u32 val;
index 7d2b6dd18e17077df51b82422bb36a2aaf709a7c..f899f0f6573e48812c843f5d6d1219db5f8b5e08 100644 (file)
@@ -402,6 +402,8 @@ int dispc_ovl_setup(enum omap_plane plane, struct omap_overlay_info *oi,
                bool ilace, enum omap_channel channel, bool replication,
                u32 fifo_low, u32 fifo_high);
 int dispc_ovl_enable(enum omap_plane plane, bool enable);
+void dispc_ovl_set_channel_out(enum omap_plane plane,
+               enum omap_channel channel);
 
 
 void dispc_mgr_enable_fifohandcheck(enum omap_channel channel, bool enable);