OMAPDSS: APPLY: move mgr->enabled to mgr_priv_data
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 15 Nov 2011 12:43:53 +0000 (14:43 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 2 Dec 2011 06:54:43 +0000 (08:54 +0200)
commitbf213523fe9708572a0b0a9149f7196a4f058564
tree55ec6aa25d0b7df07ab6adc87890eb267cf17861
parent9a147a65de1ac89e506ef90413f41ebd96e03fd3
OMAPDSS: APPLY: move mgr->enabled to mgr_priv_data

struct omap_overlay_manager contains "enabled"-field, used to track if
the manager is enabled or not. This field should be internal to apply.c.

This patch moves the field to mgr_priv_data, and applies the necessary
locking when accessing the field.

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