diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-02-18 11:06:01 (GMT) |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-04-03 12:19:01 (GMT) |
commit | 7286a08fb5607dbcf1a47639609d53d76b60e957 (patch) | |
tree | 87a0dd24c1e68519c0c71d0407ac3b28b2ee85c6 /drivers/video/omap2/dss/dsi.c | |
parent | 002d368deeae2e8f2a081b21e4e3c1e2b4e69d9d (diff) | |
download | linux-fsl-qoriq-7286a08fb5607dbcf1a47639609d53d76b60e957.tar.xz |
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.c | 1 |
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); } |