rk29: backlight: backport from rk2818, enable backlight after show logo
author黄涛 <huangtao@rock-chips.com>
Wed, 23 Mar 2011 08:32:26 +0000 (16:32 +0800)
committer黄涛 <huangtao@rock-chips.com>
Wed, 23 Mar 2011 08:32:26 +0000 (16:32 +0800)
drivers/video/backlight/rk29_backlight.c
drivers/video/console/fbcon.c
drivers/video/rk29_fb.c

index 248190d40afff9dd0b1769f1f069f4db743b38f4..9d38518f5867244eb686689205bb6dce33c4b00a 100755 (executable)
@@ -396,4 +396,4 @@ static int __init rk29_backlight_init(void)
        platform_driver_register(&rk29_backlight_driver);
        return 0;
 }
-postcore_initcall_sync(rk29_backlight_init);
+fs_initcall_sync(rk29_backlight_init);
index 3681c6a8821239ad58858a062e0f2e6177f994fa..807440beedb5b45386e641a72eed4e89d99a4285 100644 (file)
@@ -3526,7 +3526,7 @@ static int __init fb_console_init(void)
        return 0;
 }
 
-module_init(fb_console_init);
+subsys_initcall(fb_console_init);
 
 #ifdef MODULE
 
index 020360dc11861cfedf8123d42045d1962b2c84c4..c4a1a8e7d2c1503736d005903696f559a21e337b 100755 (executable)
@@ -2703,9 +2703,7 @@ static void __exit rk29fb_exit(void)
     platform_driver_unregister(&rk29fb_driver);
 }
 
-//subsys_initcall(rk29fb_init);
-
-module_init(rk29fb_init);
+fs_initcall(rk29fb_init);
 module_exit(rk29fb_exit);