use the european kernel.org mirror too
[openwrt/svn-archive/archive.git] / target / linux / avr32 / patches / 120-cpufreq_panic.patch
1 From: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
2 Date: Tue, 27 May 2008 07:37:42 +0000 (+0200)
3 Subject: avr32: Fix cpufreq oops when ondemand governor is default
4 X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Fhskinnemoen%2Favr32-2.6.git;a=commitdiff_plain;h=f04d264afc51acdffeba9cdf3baf04116687680c
5
6 avr32: Fix cpufreq oops when ondemand governor is default
7
8 Move the AP7 cpufreq init to late_initcall() so that we don't try to
9 bring up cpufreq until the governor is ready. x86 also uses
10 late_initcall() for this.
11
12 Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
13 ---
14
15 diff --git a/arch/avr32/mach-at32ap/cpufreq.c b/arch/avr32/mach-at32ap/cpufreq.c
16 index 235524b..5dd8d25 100644
17 --- a/arch/avr32/mach-at32ap/cpufreq.c
18 +++ b/arch/avr32/mach-at32ap/cpufreq.c
19 @@ -108,5 +108,4 @@ static int __init at32_cpufreq_init(void)
20 {
21 return cpufreq_register_driver(&at32_driver);
22 }
23 -
24 -arch_initcall(at32_cpufreq_init);
25 +late_initcall(at32_cpufreq_init);