Skip to content

Commit

Permalink
avr32: Fix cpufreq oops when ondemand governor is default
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Haavard Skinnemoen committed May 27, 2008
1 parent d56acac commit f04d264
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/avr32/mach-at32ap/cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit f04d264

Please sign in to comment.