]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: add pdata->default_display_name
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 16 Nov 2012 12:59:56 +0000 (14:59 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 17 Jun 2013 11:00:26 +0000 (14:00 +0300)
commit0de9e1d06ecff6e7d9472e9ef48af49e6c331a37
treea3c4e01855d74f0780cee4eaf1d7a923be0862f9
parent9e1371520a92846c7d09a055043a55a8e212b7aa
OMAPDSS: add pdata->default_display_name

We can currently set the default display (i.e. the initial display) in
the omapdss platform data by using a pointer to the default
omap_dss_device. Internally omapdss uses the device's name to resolve
the default display.

As it's difficult to get the omap_dss_device pointer in the future,
after we've changed the omapdss device model, this patch adds a new way
to define the default display, by using the name of the display.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/dss/core.c
include/video/omapdss.h