From fc8df75217e1c60183b594a417bc496ab086a453 Mon Sep 17 00:00:00 2001 From: Archit Taneja Date: Mon, 16 Sep 2013 12:48:30 +0530 Subject: ARM: OMAP2+: display: Create omapvrfb and omapfb devices inside omap_display_init Move omapfb and omapvrfb device creation inside the omap_display_init so that we can correctly create the device based on the presence of omapdss within the platform. For example, on a kernel image supporting multiple platforms, omap_init_vrfb and omap_init_fb will create omapvrfb and omapfb platform devices respectively on a AM33xx platform even though it doesn't have a VRFB or DSS block. Signed-off-by: Archit Taneja Acked-by: Tomi Valkeinen Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/display.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/arm/mach-omap2/display.h') diff --git a/arch/arm/mach-omap2/display.h b/arch/arm/mach-omap2/display.h index e4e8d39c0218..bc7af4075914 100644 --- a/arch/arm/mach-omap2/display.h +++ b/arch/arm/mach-omap2/display.h @@ -27,4 +27,6 @@ struct omap_dss_dispc_dev_attr { }; int omap_init_drm(void); +int omap_init_vrfb(void); +int omap_init_fb(void); #endif -- cgit v1.2.3