]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
avr32: Fix cpufreq oops when ondemand governor is default
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Tue, 27 May 2008 07:37:42 +0000 (09:37 +0200)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Tue, 27 May 2008 07:37:42 +0000 (09:37 +0200)
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>
arch/avr32/mach-at32ap/cpufreq.c

index 235524b79193ec945e88dc8d20e0edf674b942d6..5dd8d25428bfb7d6a48a084eee1d114d83efaeeb 100644 (file)
@@ -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);