summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/venc.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2013-05-03 11:42:18 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-06-17 14:00:53 +0300
commitb7328e14591fb532688db36ef894ac8c34948b4e (patch)
treecd2780e7a8ab945129abaecea5f92809b41f78a1 /drivers/video/omap2/dss/venc.c
parentd35317a42ddfff836d509cf128255721db8101c1 (diff)
downloadlinux-b7328e14591fb532688db36ef894ac8c34948b4e.tar.gz
linux-b7328e14591fb532688db36ef894ac8c34948b4e.tar.bz2
linux-b7328e14591fb532688db36ef894ac8c34948b4e.zip
OMAPDSS: add THIS_MODULE owner to DSS outputs
Setup the owner field for DSS output's omap_dss_device so that module refcounting works. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/venc.c')
-rw-r--r--drivers/video/omap2/dss/venc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/venc.c b/drivers/video/omap2/dss/venc.c
index 96c49bc7bdb4..4a8a214067ab 100644
--- a/drivers/video/omap2/dss/venc.c
+++ b/drivers/video/omap2/dss/venc.c
@@ -792,6 +792,7 @@ static void venc_init_output(struct platform_device *pdev)
out->output_type = OMAP_DISPLAY_TYPE_VENC;
out->name = "venc.0";
out->dispc_channel = OMAP_DSS_CHANNEL_DIGIT;
+ out->owner = THIS_MODULE;
dss_register_output(out);
}