Commit f04d264a authored by Haavard Skinnemoen's avatar Haavard Skinnemoen

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: default avatarHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
parent d56acacd
......@@ -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);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment