summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/display.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2018-04-16 20:27:02 +0300
committerTony Lindgren <tony@atomide.com>2018-04-30 22:04:51 +0300
commit463ab4d58f972ba7fb782fbeebd84efc8ce8c091 (patch)
treeccc08984b0bd2a683ff22e237ccd92bbdb66299e /arch/arm/mach-omap2/display.c
parent02b83dcb3db7974cc25834b67ffac7eb90ce56ac (diff)
downloadlinux-463ab4d58f972ba7fb782fbeebd84efc8ce8c091.tar.xz
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>
Diffstat (limited to 'arch/arm/mach-omap2/display.c')
-rw-r--r--arch/arm/mach-omap2/display.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c
index 480a2b989908..9500b6e27380 100644
--- a/arch/arm/mach-omap2/display.c
+++ b/arch/arm/mach-omap2/display.c
@@ -385,7 +385,7 @@ static struct device_node * __init omapdss_find_dss_of_node(void)
return NULL;
}
-int __init omapdss_init_of(void)
+static int __init omapdss_init_of(void)
{
int r;
struct device_node *node;
@@ -415,3 +415,4 @@ int __init omapdss_init_of(void)
return omapdss_init_fbdev();
}
+omap_device_initcall(omapdss_init_of);