aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/cpu/cpufreq/longrun.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-26 17:55:48 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-26 17:55:48 -0500
commit221dee285ee38099b82437531bcae9fa9cb64cc4 (patch)
tree1f91186091f0256e04c210a8ac76023cdeebf202 /arch/i386/kernel/cpu/cpufreq/longrun.c
parent6f8c480f998a619082f18407f8d7f4c29e94dc6e (diff)
Revert "[CPUFREQ] constify cpufreq_driver where possible."
This reverts commit aeeddc1435c37fa3fc844f31d39c185b08de4158, which was half-baked and broken. It just resulted in compile errors, since cpufreq_register_driver() still changes the 'driver_data' by setting bits in the flags field. So claiming it is 'const' _really_ doesn't work. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/i386/kernel/cpu/cpufreq/longrun.c')
-rw-r--r--arch/i386/kernel/cpu/cpufreq/longrun.c4
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 e11fd86ce8fb..b2689514295a 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
21static const struct cpufreq_driver longrun_driver; 21static 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
283static const struct cpufreq_driver longrun_driver = { 283static 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,