]> Pileus Git - ~andy/linux/commit
ARM: OMAP2+: display: Create omapdrm device inside omap_display_init
authorArchit Taneja <archit@ti.com>
Mon, 16 Sep 2013 07:18:29 +0000 (12:48 +0530)
committerTony Lindgren <tony@atomide.com>
Tue, 8 Oct 2013 21:02:35 +0000 (14:02 -0700)
commit7a59743d0ccbeade0cb130f9ceabbe51cb6d3eb7
tree96c139fe65c3be5893250790b9f6335dda3b8db9
parent7dfebabd4852b08ec0093d6f78aba7bc1b100318
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 <andygro@gmail.com>
Signed-off-by: Archit Taneja <archit@ti.com>
Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/Makefile
arch/arm/mach-omap2/display.c
arch/arm/mach-omap2/display.h
arch/arm/mach-omap2/drm.c