]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
OMAPDSS: omapdss.h: add owner field to omap_dss_device
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 3 May 2013 08:35:43 +0000 (11:35 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 17 Jun 2013 11:00:52 +0000 (14:00 +0300)
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>
include/video/omapdss.h

index 8e5035a5454401f5fd4611595a2ba5977c3fca60..d667a4a78a4936c69e04a72389299635d29abc58 100644 (file)
@@ -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" */