rk fb: fb and screen driver load as fs_initcall
authoryxj <yxj@rock-chips.com>
Fri, 28 Mar 2014 08:21:04 +0000 (16:21 +0800)
committeryxj <yxj@rock-chips.com>
Fri, 28 Mar 2014 13:26:09 +0000 (21:26 +0800)
drivers/video/rockchip/rk_fb.c
drivers/video/rockchip/screen/rk_screen.c

index ccc8f56945d23b8734e07b32904617ff4139ea6a..7fa73861559bce7f0be65036520f0c0dd4fba5ef 100755 (executable)
@@ -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);
index 50590c491bd81b7d6014c9ab01128656898e3f96..7a821071c5f9d3dfa54f3b27e835f1782d073da0 100644 (file)
@@ -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);