summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/dsi.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2013-02-18 13:06:01 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-04-03 15:19:01 +0300
commit7286a08fb5607dbcf1a47639609d53d76b60e957 (patch)
tree87a0dd24c1e68519c0c71d0407ac3b28b2ee85c6 /drivers/video/omap2/dss/dsi.c
parent002d368deeae2e8f2a081b21e4e3c1e2b4e69d9d (diff)
downloadop-kernel-dev-7286a08fb5607dbcf1a47639609d53d76b60e957.zip
op-kernel-dev-7286a08fb5607dbcf1a47639609d53d76b60e957.tar.gz
OMAPDSS: add output->name
Add name field to omapdss's outputs so that in the following patches panels refer to the output by their name. The name also helps debugging. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Reviewed-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dsi.c')
-rw-r--r--drivers/video/omap2/dss/dsi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dsi.c b/drivers/video/omap2/dss/dsi.c
index 815c930..294c832 100644
--- a/drivers/video/omap2/dss/dsi.c
+++ b/drivers/video/omap2/dss/dsi.c
@@ -5183,6 +5183,7 @@ static void __init dsi_init_output(struct platform_device *dsidev)
OMAP_DSS_OUTPUT_DSI1 : OMAP_DSS_OUTPUT_DSI2;
out->type = OMAP_DISPLAY_TYPE_DSI;
+ out->name = dsi->module_id == 0 ? "dsi.0" : "dsi.1";
dss_register_output(out);
}
OpenPOWER on IntegriCloud