ARM: OMAP2+: Make display related init into device_initcall
authorTony Lindgren <tony@atomide.com>
Mon, 16 Apr 2018 17:27:02 +0000 (10:27 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 30 Apr 2018 19:04:51 +0000 (12:04 -0700)
commit463ab4d58f972ba7fb782fbeebd84efc8ce8c091
treeccc08984b0bd2a683ff22e237ccd92bbdb66299e
parent02b83dcb3db7974cc25834b67ffac7eb90ce56ac
ARM: OMAP2+: Make display related init into device_initcall

We can initialize almost everything at normal module_init time with
ti-sysc except for clocks and timers. To prepare for that, let's make
display init into device_initcall as otherwise we'll be calling
of_platform_populate() before the parent has probed.

Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-generic.c
arch/arm/mach-omap2/common.h
arch/arm/mach-omap2/display.c