diff options
author | Archit Taneja <archit@ti.com> | 2012-04-16 09:23:42 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-04-23 09:48:09 +0200 |
commit | e5c09e06a9ef882e770aa1fa1bcfd5e5c90c6519 (patch) | |
tree | 46d6f24789846ebd6ae9cb07a00bd8b4335148c4 /drivers/video/omap2/dss/dispc.c | |
parent | OMAPFB: remove unused FB_OMAP_BOOTLOADER_INIT config option (diff) | |
download | linux-e5c09e06a9ef882e770aa1fa1bcfd5e5c90c6519.tar.xz linux-e5c09e06a9ef882e770aa1fa1bcfd5e5c90c6519.zip |
OMAPDSS: DISPC/RFBI: Use dispc_mgr_set_lcd_timings() for setting lcd size
The RFBI driver uses dispc_mgr_set_lcd_size() to set the width and height of
the LCD manager. Replace this to use dispc_mgr_set_lcd_timings(), pass dummy
blanking parameters like done in the DSI driver.
This prevents the need to export dispc_mgr_set_lcd_size(), and use a common
function to set lcd timings.
Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dispc.c')
-rw-r--r-- | drivers/video/omap2/dss/dispc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/omap2/dss/dispc.c b/drivers/video/omap2/dss/dispc.c index ee30937482e1..ac9bf750e774 100644 --- a/drivers/video/omap2/dss/dispc.c +++ b/drivers/video/omap2/dss/dispc.c @@ -983,7 +983,8 @@ static void dispc_ovl_enable_replication(enum omap_plane plane, bool enable) REG_FLD_MOD(DISPC_OVL_ATTRIBUTES(plane), enable, shift, shift); } -void dispc_mgr_set_lcd_size(enum omap_channel channel, u16 width, u16 height) +static void dispc_mgr_set_lcd_size(enum omap_channel channel, u16 width, + u16 height) { u32 val; BUG_ON((width > (1 << 11)) || (height > (1 << 11))); |