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>
This commit is contained in:
Tomi Valkeinen
2011-11-15 14:43:53 +02:00
parent 9a147a65de
commit bf213523fe
2 changed files with 23 additions and 5 deletions
-2
View File
@@ -430,8 +430,6 @@ struct omap_overlay_manager {
struct omap_dss_device *device;
struct omap_overlay_manager_info info;
bool enabled;
bool device_changed;
/* if true, info has been changed but not applied() yet */
bool info_dirty;