summaryrefslogtreecommitdiffstats
path: root/arch/avr32/mach-at32ap/cpufreq.c
diff options
context:
space:
mode:
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-05-27 09:37:42 +0200
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-05-27 09:37:42 +0200
commitf04d264afc51acdffeba9cdf3baf04116687680c (patch)
treed38c45118d2f9cf0487821212470746b9befbc41 /arch/avr32/mach-at32ap/cpufreq.c
parentd56acacdcd370c0077821a012607876cb11b1b3b (diff)
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>
Diffstat (limited to 'arch/avr32/mach-at32ap/cpufreq.c')
-rw-r--r--arch/avr32/mach-at32ap/cpufreq.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/avr32/mach-at32ap/cpufreq.c b/arch/avr32/mach-at32ap/cpufreq.c
index 235524b7919..5dd8d25428b 100644
--- a/arch/avr32/mach-at32ap/cpufreq.c
+++ b/arch/avr32/mach-at32ap/cpufreq.c
@@ -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);