rk2818_cpufreq_register use device_initcall, because cpufreq gov use fs_initcall
author黄涛 <huangtao@rock-chips.com>
Fri, 11 Jun 2010 04:38:55 +0000 (04:38 +0000)
committer黄涛 <huangtao@rock-chips.com>
Mon, 21 Jun 2010 05:35:26 +0000 (13:35 +0800)
arch/arm/mach-rk2818/cpufreq.c

index e35953829edc4af44dec793a0f3c33862f20a8fe..60caf3dff345c258a3886d97cd3b0a9c612a5f42 100755 (executable)
@@ -103,5 +103,5 @@ static int __init rk2818_cpufreq_register(void)
        return cpufreq_register_driver(&rk2818_cpufreq_driver);
 }
 
-core_initcall_sync(rk2818_cpufreq_register);
+device_initcall(rk2818_cpufreq_register);