summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/common.h
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/common.h
parentcfbf8d4857c26a8a307fb7cd258074c9dcd8c691 (diff)
downloadlinux-dcdf407b9ddceb1383da14c9a095e0b07a85b014.tar.gz
linux-dcdf407b9ddceb1383da14c9a095e0b07a85b014.tar.bz2
linux-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/common.h')
-rw-r--r--arch/arm/mach-omap2/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/common.h b/arch/arm/mach-omap2/common.h
index a6aae300542c..1864282dbddf 100644
--- a/arch/arm/mach-omap2/common.h
+++ b/arch/arm/mach-omap2/common.h
@@ -315,5 +315,7 @@ extern int omap_dss_reset(struct omap_hwmod *);
/* SoC specific clock initializer */
int omap_clk_init(void);
+int __init omapdss_init_of(void);
+
#endif /* __ASSEMBLER__ */
#endif /* __ARCH_ARM_MACH_OMAP2PLUS_COMMON_H */