diff options
author | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-05-27 09:37:42 +0200 |
---|---|---|
committer | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-05-27 09:37:42 +0200 |
commit | f04d264afc51acdffeba9cdf3baf04116687680c (patch) | |
tree | d38c45118d2f9cf0487821212470746b9befbc41 /arch | |
parent | d56acacdcd370c0077821a012607876cb11b1b3b (diff) | |
download | kernel_samsung_espresso10-f04d264afc51acdffeba9cdf3baf04116687680c.zip kernel_samsung_espresso10-f04d264afc51acdffeba9cdf3baf04116687680c.tar.gz kernel_samsung_espresso10-f04d264afc51acdffeba9cdf3baf04116687680c.tar.bz2 |
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.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/avr32/mach-at32ap/cpufreq.c b/arch/avr32/mach-at32ap/cpufreq.c index 235524b..5dd8d25 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); |