summaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2013-05-03 11:35:43 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-06-17 14:00:52 +0300
commit4f3e44ea07eafb5252e8414ae4f75f749e1729de (patch)
tree2e25ea07f2213662c456006f354519762a41df06 /include/video
parent1f68d9c4b660487c5878c4800ff5a402abc6c005 (diff)
OMAPDSS: omapdss.h: add owner field to omap_dss_device
Add struct module *owner field to omap_dss_device, which points to the module containing the ops for this omap_dss_device. This will be used to manage the ref count for the module. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/omapdss.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index 8e5035a5454..d667a4a78a4 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -579,6 +579,8 @@ struct omap_dss_device {
/* new device, pointer to panel device */
struct device *dev;
+ struct module *owner;
+
struct list_head panel_list;
/* alias in the form of "display%d" */