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)
commit0a20012605033c8acd8b2c209c422d78880e2896
treea3c4e01855d74f0780cee4eaf1d7a923be0862f9
parent317ddd256b9c24b0d78fa8018f80f1e495481a10
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