diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-05-03 04:42:18 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-06-17 07:00:53 -0400 |
commit | b7328e14591fb532688db36ef894ac8c34948b4e (patch) | |
tree | cd2780e7a8ab945129abaecea5f92809b41f78a1 /drivers/video | |
parent | d35317a42ddfff836d509cf128255721db8101c1 (diff) |
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')
-rw-r--r-- | drivers/video/omap2/dss/dpi.c | 1 | ||||
-rw-r--r-- | drivers/video/omap2/dss/dsi.c | 1 | ||||
-rw-r--r-- | drivers/video/omap2/dss/hdmi.c | 1 | ||||
-rw-r--r-- | drivers/video/omap2/dss/rfbi.c | 1 | ||||
-rw-r--r-- | drivers/video/omap2/dss/sdi.c | 1 | ||||
-rw-r--r-- | drivers/video/omap2/dss/venc.c | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dpi.c b/drivers/video/omap2/dss/dpi.c index 482b918757be..892a2b207ee4 100644 --- a/drivers/video/omap2/dss/dpi.c +++ b/drivers/video/omap2/dss/dpi.c | |||
@@ -687,6 +687,7 @@ static void dpi_init_output(struct platform_device *pdev) | |||
687 | out->output_type = OMAP_DISPLAY_TYPE_DPI; | 687 | out->output_type = OMAP_DISPLAY_TYPE_DPI; |
688 | out->name = "dpi.0"; | 688 | out->name = "dpi.0"; |
689 | out->dispc_channel = dpi_get_channel(); | 689 | out->dispc_channel = dpi_get_channel(); |
690 | out->owner = THIS_MODULE; | ||
690 | 691 | ||
691 | dss_register_output(out); | 692 | dss_register_output(out); |
692 | } | 693 | } |
diff --git a/drivers/video/omap2/dss/dsi.c b/drivers/video/omap2/dss/dsi.c index 88780731f7a8..d6b019faed23 100644 --- a/drivers/video/omap2/dss/dsi.c +++ b/drivers/video/omap2/dss/dsi.c | |||
@@ -5424,6 +5424,7 @@ static void dsi_init_output(struct platform_device *dsidev) | |||
5424 | out->output_type = OMAP_DISPLAY_TYPE_DSI; | 5424 | out->output_type = OMAP_DISPLAY_TYPE_DSI; |
5425 | out->name = dsi->module_id == 0 ? "dsi.0" : "dsi.1"; | 5425 | out->name = dsi->module_id == 0 ? "dsi.0" : "dsi.1"; |
5426 | out->dispc_channel = dsi_get_channel(dsi->module_id); | 5426 | out->dispc_channel = dsi_get_channel(dsi->module_id); |
5427 | out->owner = THIS_MODULE; | ||
5427 | 5428 | ||
5428 | dss_register_output(out); | 5429 | dss_register_output(out); |
5429 | } | 5430 | } |
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) | |||
1042 | out->output_type = OMAP_DISPLAY_TYPE_HDMI; | 1042 | out->output_type = OMAP_DISPLAY_TYPE_HDMI; |
1043 | out->name = "hdmi.0"; | 1043 | out->name = "hdmi.0"; |
1044 | out->dispc_channel = OMAP_DSS_CHANNEL_DIGIT; | 1044 | out->dispc_channel = OMAP_DSS_CHANNEL_DIGIT; |
1045 | out->owner = THIS_MODULE; | ||
1045 | 1046 | ||
1046 | dss_register_output(out); | 1047 | dss_register_output(out); |
1047 | } | 1048 | } |
diff --git a/drivers/video/omap2/dss/rfbi.c b/drivers/video/omap2/dss/rfbi.c index 35836eb73a62..f18c9466849b 100644 --- a/drivers/video/omap2/dss/rfbi.c +++ b/drivers/video/omap2/dss/rfbi.c | |||
@@ -1020,6 +1020,7 @@ static void rfbi_init_output(struct platform_device *pdev) | |||
1020 | out->output_type = OMAP_DISPLAY_TYPE_DBI; | 1020 | out->output_type = OMAP_DISPLAY_TYPE_DBI; |
1021 | out->name = "rfbi.0"; | 1021 | out->name = "rfbi.0"; |
1022 | out->dispc_channel = OMAP_DSS_CHANNEL_LCD; | 1022 | out->dispc_channel = OMAP_DSS_CHANNEL_LCD; |
1023 | out->owner = THIS_MODULE; | ||
1023 | 1024 | ||
1024 | dss_register_output(out); | 1025 | dss_register_output(out); |
1025 | } | 1026 | } |
diff --git a/drivers/video/omap2/dss/sdi.c b/drivers/video/omap2/dss/sdi.c index 5e81de58d932..bcb75f5d5373 100644 --- a/drivers/video/omap2/dss/sdi.c +++ b/drivers/video/omap2/dss/sdi.c | |||
@@ -342,6 +342,7 @@ static void sdi_init_output(struct platform_device *pdev) | |||
342 | out->output_type = OMAP_DISPLAY_TYPE_SDI; | 342 | out->output_type = OMAP_DISPLAY_TYPE_SDI; |
343 | out->name = "sdi.0"; | 343 | out->name = "sdi.0"; |
344 | out->dispc_channel = OMAP_DSS_CHANNEL_LCD; | 344 | out->dispc_channel = OMAP_DSS_CHANNEL_LCD; |
345 | out->owner = THIS_MODULE; | ||
345 | 346 | ||
346 | dss_register_output(out); | 347 | dss_register_output(out); |
347 | } | 348 | } |
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) | |||
792 | out->output_type = OMAP_DISPLAY_TYPE_VENC; | 792 | out->output_type = OMAP_DISPLAY_TYPE_VENC; |
793 | out->name = "venc.0"; | 793 | out->name = "venc.0"; |
794 | out->dispc_channel = OMAP_DSS_CHANNEL_DIGIT; | 794 | out->dispc_channel = OMAP_DSS_CHANNEL_DIGIT; |
795 | out->owner = THIS_MODULE; | ||
795 | 796 | ||
796 | dss_register_output(out); | 797 | dss_register_output(out); |
797 | } | 798 | } |