diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-26 17:17:50 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-26 17:17:50 -0500 |
commit | 6f8c480f998a619082f18407f8d7f4c29e94dc6e (patch) | |
tree | 5047fe0d685fe9eab64c506fa1001e7df5e65faa /arch/i386/kernel/cpu/cpufreq/longrun.c | |
parent | 038c068f63a950c3a6ccfa814831ccac0ad48fb1 (diff) | |
parent | bd5ab26a7d0cc834d846fe5dd7291f0aed3be72b (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq
* master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq:
[CPUFREQ] constify some data tables.
[CPUFREQ] constify cpufreq_driver where possible.
{rd,wr}msr_on_cpu SMP=n optimization
[CPUFREQ] cpufreq_ondemand.c: don't use _WORK_NAR
rdmsr_on_cpu, wrmsr_on_cpu
[CPUFREQ] Revert default on deprecated config X86_SPEEDSTEP_CENTRINO_ACPI
Diffstat (limited to 'arch/i386/kernel/cpu/cpufreq/longrun.c')
-rw-r--r-- | arch/i386/kernel/cpu/cpufreq/longrun.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/longrun.c b/arch/i386/kernel/cpu/cpufreq/longrun.c index b2689514295a..e11fd86ce8fb 100644 --- a/arch/i386/kernel/cpu/cpufreq/longrun.c +++ b/arch/i386/kernel/cpu/cpufreq/longrun.c | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | #define dprintk(msg...) cpufreq_debug_printk(CPUFREQ_DEBUG_DRIVER, "longrun", msg) | 19 | #define dprintk(msg...) cpufreq_debug_printk(CPUFREQ_DEBUG_DRIVER, "longrun", msg) |
20 | 20 | ||
21 | static struct cpufreq_driver longrun_driver; | 21 | static const struct cpufreq_driver longrun_driver; |
22 | 22 | ||
23 | /** | 23 | /** |
24 | * longrun_{low,high}_freq is needed for the conversion of cpufreq kHz | 24 | * longrun_{low,high}_freq is needed for the conversion of cpufreq kHz |
@@ -280,7 +280,7 @@ static int __init longrun_cpu_init(struct cpufreq_policy *policy) | |||
280 | } | 280 | } |
281 | 281 | ||
282 | 282 | ||
283 | static struct cpufreq_driver longrun_driver = { | 283 | static const struct cpufreq_driver longrun_driver = { |
284 | .flags = CPUFREQ_CONST_LOOPS, | 284 | .flags = CPUFREQ_CONST_LOOPS, |
285 | .verify = longrun_verify_policy, | 285 | .verify = longrun_verify_policy, |
286 | .setpolicy = longrun_set_policy, | 286 | .setpolicy = longrun_set_policy, |