diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-26 17:55:48 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-26 17:55:48 -0500 |
commit | 221dee285ee38099b82437531bcae9fa9cb64cc4 (patch) | |
tree | 1f91186091f0256e04c210a8ac76023cdeebf202 /arch/i386/kernel/cpu/cpufreq/gx-suspmod.c | |
parent | 6f8c480f998a619082f18407f8d7f4c29e94dc6e (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/gx-suspmod.c')
-rw-r--r-- | arch/i386/kernel/cpu/cpufreq/gx-suspmod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c b/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c index 9a66cab7fe14..6667e9cceb9f 100644 --- a/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c +++ b/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c | |||
@@ -433,7 +433,7 @@ static int cpufreq_gx_cpu_init(struct cpufreq_policy *policy) | |||
433 | * cpufreq_gx_init: | 433 | * cpufreq_gx_init: |
434 | * MediaGX/Geode GX initialize cpufreq driver | 434 | * MediaGX/Geode GX initialize cpufreq driver |
435 | */ | 435 | */ |
436 | static const struct cpufreq_driver gx_suspmod_driver = { | 436 | static struct cpufreq_driver gx_suspmod_driver = { |
437 | .get = gx_get_cpuspeed, | 437 | .get = gx_get_cpuspeed, |
438 | .verify = cpufreq_gx_verify, | 438 | .verify = cpufreq_gx_verify, |
439 | .target = cpufreq_gx_target, | 439 | .target = cpufreq_gx_target, |