ARM: OMAP2+: display: Create omap_vout device inside omap_display_init
authorArchit Taneja <archit@ti.com>
Mon, 16 Sep 2013 07:18:31 +0000 (12:48 +0530)
committerTony Lindgren <tony@atomide.com>
Tue, 8 Oct 2013 21:03:07 +0000 (14:03 -0700)
commit576e5bda70a5442381ee31285edada114d692132
tree5965e5e712098280045afdfdce02169d64163747
parentfc8df75217e1c60183b594a417bc496ab086a453
ARM: OMAP2+: display: Create omap_vout device inside omap_display_init

Move omap_vout 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_vout
will create a omapdrm platform device on a AM33xx platform even though it
doesn't have a DSS block.

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/devices.c
arch/arm/mach-omap2/display.c
arch/arm/mach-omap2/display.h