summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-05-27 11:37:42 +0400
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-05-27 11:37:42 +0400
commitf04d264afc51acdffeba9cdf3baf04116687680c (patch)
treed38c45118d2f9cf0487821212470746b9befbc41 /arch
parentd56acacdcd370c0077821a012607876cb11b1b3b (diff)
downloadlinux-f04d264afc51acdffeba9cdf3baf04116687680c.tar.xz
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')
-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 235524b79193..5dd8d25428bf 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);