rk30:sdk:change load order order
author许盛飞 <xsf@rock-chips.com>
Mon, 9 Jul 2012 02:01:02 +0000 (10:01 +0800)
committer许盛飞 <xsf@rock-chips.com>
Mon, 9 Jul 2012 02:01:02 +0000 (10:01 +0800)
drivers/power/rk29_charger_display.c

index f4d5412d7929180512886326c088be0cd8b70755..c9e596aef52400f1dd7785f99ee30afe99c505f4 100755 (executable)
@@ -106,6 +106,7 @@ static int  __init start_charge_logo_display(void)
 
 
        //low power and charging
+#if 0
        if((val_capacity.intval < pwr_on_thrsd )&&(val_status.intval == POWER_SUPPLY_STATUS_CHARGING))
        {
                while((val_capacity.intval < pwr_on_thrsd ))
@@ -119,7 +120,7 @@ static int  __init start_charge_logo_display(void)
                }
        }
 
-
+#endif
 
        if(val_status.intval == POWER_SUPPLY_STATUS_CHARGING)
        {
@@ -134,5 +135,5 @@ static int  __init start_charge_logo_display(void)
        return 0;
 } 
 
-subsys_initcall_sync(start_charge_logo_display);
-
+//subsys_initcall_sync(start_charge_logo_display);
+module_init(start_charge_logo_display);