summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/common-board-devices.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/common-board-devices.h')
-rw-r--r--arch/arm/mach-omap2/common-board-devices.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/common-board-devices.h b/arch/arm/mach-omap2/common-board-devices.h
index e3cac357415e..90a44800a3f8 100644
--- a/arch/arm/mach-omap2/common-board-devices.h
+++ b/arch/arm/mach-omap2/common-board-devices.h
@@ -73,4 +73,16 @@ void omap4_pmic_get_config(struct twl4030_platform_data *pmic_data,
#define OMAP_DSS_VENC_SUPPLIES \
REGULATOR_SUPPLY("vdda_dac", "omapdss_venc")
+struct omap_dss_board_info;
+
+#if defined(CONFIG_OMAP2_DSS_MODULE) || defined(CONFIG_OMAP2_DSS)
+/* Init with the board info */
+extern int omap_display_init(struct omap_dss_board_info *board_data);
+#else
+static inline int omap_display_init(struct omap_dss_board_info *board_data)
+{
+ return 0;
+}
+#endif
+
#endif /* __OMAP_COMMON_BOARD_DEVICES__ */