summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/hdmi.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2013-05-03 10:42:18 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-06-17 13:00:53 +0200
commitb7328e14591fb532688db36ef894ac8c34948b4e (patch)
treecd2780e7a8ab945129abaecea5f92809b41f78a1 /drivers/video/omap2/dss/hdmi.c
parentOMAPDSS: add module_get/put to omap_dss_get/put_device() (diff)
downloadlinux-b7328e14591fb532688db36ef894ac8c34948b4e.tar.xz
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/hdmi.c')
-rw-r--r--drivers/video/omap2/dss/hdmi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/hdmi.c b/drivers/video/omap2/dss/hdmi.c
index 1c1c1eee9990..0f93903d4409 100644
--- a/drivers/video/omap2/dss/hdmi.c
+++ b/drivers/video/omap2/dss/hdmi.c
@@ -1042,6 +1042,7 @@ static void hdmi_init_output(struct platform_device *pdev)
out->output_type = OMAP_DISPLAY_TYPE_HDMI;
out->name = "hdmi.0";
out->dispc_channel = OMAP_DSS_CHANNEL_DIGIT;
+ out->owner = THIS_MODULE;
dss_register_output(out);
}