From 7a59743d0ccbeade0cb130f9ceabbe51cb6d3eb7 Mon Sep 17 00:00:00 2001 From: Archit Taneja Date: Mon, 16 Sep 2013 12:48:29 +0530 Subject: ARM: OMAP2+: display: Create omapdrm device inside omap_display_init Move omapdrm 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_drm will create a omapdrm platform device on a AM33xx platform even though it doesn't have a DSS block. Originally worked on by Andy Gross. Cc: Andy Gross Signed-off-by: Archit Taneja Acked-by: Tomi Valkeinen Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/display.h | 1 + 1 file changed, 1 insertion(+) (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 b871b017b352..e4e8d39c0218 100644 --- a/arch/arm/mach-omap2/display.h +++ b/arch/arm/mach-omap2/display.h @@ -26,4 +26,5 @@ struct omap_dss_dispc_dev_attr { bool has_framedonetv_irq; }; +int omap_init_drm(void); #endif -- cgit v1.2.3