OMAPDSS: DISPC: Constify omap_overlay_info in dispc_ovl_setup()
authorArchit Taneja <archit@ti.com>
Wed, 22 Aug 2012 07:03:49 +0000 (12:33 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 26 Sep 2012 11:58:48 +0000 (14:58 +0300)
commit8eeb7019a4d1e5402b4bd5371562fe93dc1ed3dc
tree6f5b822bb50c14e65299cd803b63da93a3531646
parent3c2995ac34eb559106504be962b162aef215895b
OMAPDSS: DISPC: Constify omap_overlay_info in dispc_ovl_setup()

The struct omap_overlay_info passed to dispc_ovl_setup() is used to configure
DISPC registers. It shouldn't modify the overlay_info structure. The pos_y field
was being changed in dispc_ovl_setup in the case of interlaced displays. Fix
this and const qualifier to the omap_overlay_info argument.

Signed-off-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/dss/dispc.c
drivers/video/omap2/dss/dss.h