summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/dss-common.h
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2012-11-05 14:14:17 +0100
committerTony Lindgren <tony@atomide.com>2012-11-07 22:26:27 +0100
commit0191bf368fd95ecd4f83e62b0ad6de12048b14bf (patch)
treeabd962268d5e58ef6c016474cb80c3f58fe4ea9e /arch/arm/mach-omap2/dss-common.h
parentARM: OMAP2+: Nokia N9/N900/N950 -- mention product names (diff)
downloadlinux-0191bf368fd95ecd4f83e62b0ad6de12048b14bf.tar.xz
linux-0191bf368fd95ecd4f83e62b0ad6de12048b14bf.zip
OMAP: panda: move display init from board file to dss-common.c
Device tree support for omapdss is still some way in the future. In an effort to get a minimal DSS support for DT enabled kernel on selected OMAP4 boards, we'll go for a temporary solution: We will call the same non-DT omapdss setup code for OMAP4 SDP and Pandaboards from board-generic.c, thus enabling DSS for those boards. This patch moves the display setup code from board-omap4panda.c to dss-common.c. dss-common.c will be called by the board-omap4panda.c when running on non-DT kernel, and by board-generic.c when running on DT enabled kernel. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/dss-common.h')
-rw-r--r--arch/arm/mach-omap2/dss-common.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/dss-common.h b/arch/arm/mach-omap2/dss-common.h
new file mode 100644
index 000000000000..6fac6a8315cb
--- /dev/null
+++ b/arch/arm/mach-omap2/dss-common.h
@@ -0,0 +1,12 @@
+#ifndef __OMAP_DSS_COMMON__
+#define __OMAP_DSS_COMMON__
+
+/*
+ * NOTE: this is a transitional file to help with DT adaptation.
+ * This file will be removed when DSS supports DT.
+ */
+
+void __init omap4_panda_display_init(void);
+void __init omap4_panda_display_init_of(void);
+
+#endif