From: yxj Date: Fri, 28 Mar 2014 08:21:04 +0000 (+0800) Subject: rk fb: fb and screen driver load as fs_initcall X-Git-Tag: firefly_0821_release~5728 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b0054afe182bf49b1bd0a166e2bc98aafc707e4c;p=firefly-linux-kernel-4.4.55.git rk fb: fb and screen driver load as fs_initcall --- diff --git a/drivers/video/rockchip/rk_fb.c b/drivers/video/rockchip/rk_fb.c index ccc8f56945d2..7fa73861559b 100755 --- a/drivers/video/rockchip/rk_fb.c +++ b/drivers/video/rockchip/rk_fb.c @@ -3018,5 +3018,5 @@ static void __exit rk_fb_exit(void) platform_driver_unregister(&rk_fb_driver); } -subsys_initcall_sync(rk_fb_init); +fs_initcall(rk_fb_init); module_exit(rk_fb_exit); diff --git a/drivers/video/rockchip/screen/rk_screen.c b/drivers/video/rockchip/screen/rk_screen.c index 50590c491bd8..7a821071c5f9 100644 --- a/drivers/video/rockchip/screen/rk_screen.c +++ b/drivers/video/rockchip/screen/rk_screen.c @@ -62,6 +62,6 @@ static void __exit rk_screen_exit(void) platform_driver_unregister(&rk_screen_driver); } -subsys_initcall_sync(rk_screen_init); +fs_initcall(rk_screen_init); module_exit(rk_screen_exit);