summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-generic.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2013-03-18 15:50:25 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-03-19 10:52:23 +0200
commitdcdf407b9ddceb1383da14c9a095e0b07a85b014 (patch)
tree971bbe76a1a0afdc79885355ffd331512dcae1f9 /arch/arm/mach-omap2/board-generic.c
parentcfbf8d4857c26a8a307fb7cd258074c9dcd8c691 (diff)
downloadlinux-stable-dcdf407b9ddceb1383da14c9a095e0b07a85b014.tar.gz
linux-stable-dcdf407b9ddceb1383da14c9a095e0b07a85b014.tar.bz2
linux-stable-dcdf407b9ddceb1383da14c9a095e0b07a85b014.zip
ARM: OMAP2+: add omapdss_init_of()
The OMAP display architecture requires a bunch of platform devices which are not created via .dts (for now). We also need to pass a few function pointers and the DSS hardware version from the arch code to omapdss driver. This patch adds omapdss_init_of() function, called from board-generic at init time, which handles those tasks. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Reviewed-by: Archit Taneja <archit@ti.com> Acked-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-generic.c')
-rw-r--r--arch/arm/mach-omap2/board-generic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c
index 8e3daa11602b..fcb7f5c271c9 100644
--- a/arch/arm/mach-omap2/board-generic.c
+++ b/arch/arm/mach-omap2/board-generic.c
@@ -36,6 +36,8 @@ static struct of_device_id omap_dt_match_table[] __initdata = {
static void __init omap_generic_init(void)
{
pdata_quirks_init(omap_dt_match_table);
+
+ omapdss_init_of();
}
#ifdef CONFIG_SOC_OMAP2420