From: Tomi Valkeinen Date: Fri, 3 May 2013 08:35:43 +0000 (+0300) Subject: OMAPDSS: omapdss.h: add owner field to omap_dss_device X-Git-Tag: firefly_0821_release~176^2~5753^2~3^2~10 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4f3e44ea07eafb5252e8414ae4f75f749e1729de;p=firefly-linux-kernel-4.4.55.git 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 --- diff --git a/include/video/omapdss.h b/include/video/omapdss.h index 8e5035a54544..d667a4a78a49 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" */