mirror of https://gitee.com/openkylin/linux.git
avr32: Fix cpufreq oops when ondemand governor is default
Move the AP7 cpufreq init to late_initcall() so that we don't try to bring up cpufreq until the governor is ready. x86 also uses late_initcall() for this. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
This commit is contained in:
parent
d56acacdcd
commit
f04d264afc
|
@ -108,5 +108,4 @@ static int __init at32_cpufreq_init(void)
|
|||
{
|
||||
return cpufreq_register_driver(&at32_driver);
|
||||
}
|
||||
|
||||
arch_initcall(at32_cpufreq_init);
|
||||
late_initcall(at32_cpufreq_init);
|
||||
|
|
Loading…
Reference in New Issue