From: Takeshi Kihara Date: Mon, 20 Mar 2017 17:31:00 +0000 (+0100) Subject: video/logo: tidyup fb_logo_late_init initcall timing X-Git-Tag: v4.14-rc1~481^2~28 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3fc4f2f94c9a7c5689d6c70774bab1bb4ff8f297;p=platform%2Fkernel%2Flinux-rpi.git video/logo: tidyup fb_logo_late_init initcall timing Some video driver might returns -EPROBE_DEFER when probe timing, but logo init function doesn't care it. Thus, such kernel can't have logo when boot time. This patch solves this issue by exchanging current late_initcall to late_initcall_sync Signed-off-by: Takeshi Kihara Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven Cc: Laurent Cc: Fabian Frederick Cc: Andrew Morton Cc: shimoda Cc: Koji Matsuoka Cc: shiiba Cc: sakato Cc: Hosoya Cc: Fukawa Cc: Hien Dang Cc: Khiem Nguyen Cc: Kouei Abe Cc: Harunobu Kurokawa Cc: Hiroyuki Yokoyama Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/video/logo/logo.c b/drivers/video/logo/logo.c index b6bc4a0..4d50bfd 100644 --- a/drivers/video/logo/logo.c +++ b/drivers/video/logo/logo.c @@ -34,7 +34,7 @@ static int __init fb_logo_late_init(void) return 0; } -late_initcall(fb_logo_late_init); +late_initcall_sync(fb_logo_late_init); /* logo's are marked __initdata. Use __ref to tell * modpost that it is intended that this function uses data