]> git.karo-electronics.de Git - linux-beck.git/commit
OMAPFB: search for default display with DT alias
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 6 Aug 2013 06:50:52 +0000 (09:50 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 19 Mar 2014 09:03:06 +0000 (11:03 +0200)
commita6ec216493da705a5f6fc96098c5f4af10e2be44
tree477a2d01597b2e1c84e987a6c255ecf71a31441d
parent4b13defce85d4e3cbd7ddfd701856a78772de373
OMAPFB: search for default display with DT alias

Improve the search for the default display in two ways:
* compare the given display name to the display's alias
* if no display name is given, look for "display0" DT alias

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/omapfb/omapfb-main.c