ARM: OMAP: add detection of omap5-dss
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 16 Apr 2014 10:16:27 +0000 (13:16 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 9 May 2014 12:11:27 +0000 (15:11 +0300)
Add detection of omap5-dss nodes so that the related devices get
initialized.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
arch/arm/mach-omap2/display.c

index c3f2c66..98e3c59 100644 (file)
@@ -635,6 +635,10 @@ struct device_node * __init omapdss_find_dss_of_node(void)
        if (node)
                return node;
 
+       node = of_find_compatible_node(NULL, NULL, "ti,omap5-dss");
+       if (node)
+               return node;
+
        return NULL;
 }