summaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/cpu/cpufreq/speedstep-ich.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-26 14:55:48 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-26 14:55:48 -0800
commit221dee285ee38099b82437531bcae9fa9cb64cc4 (patch)
tree1f91186091f0256e04c210a8ac76023cdeebf202 /arch/i386/kernel/cpu/cpufreq/speedstep-ich.c
parent6f8c480f998a619082f18407f8d7f4c29e94dc6e (diff)
downloadlinux-stable-221dee285ee38099b82437531bcae9fa9cb64cc4.tar.gz
linux-stable-221dee285ee38099b82437531bcae9fa9cb64cc4.tar.bz2
linux-stable-221dee285ee38099b82437531bcae9fa9cb64cc4.zip
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/speedstep-ich.c')
-rw-r--r--arch/i386/kernel/cpu/cpufreq/speedstep-ich.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/speedstep-ich.c b/arch/i386/kernel/cpu/cpufreq/speedstep-ich.c
index b94e347f08d3..b425cd3d1838 100644
--- a/arch/i386/kernel/cpu/cpufreq/speedstep-ich.c
+++ b/arch/i386/kernel/cpu/cpufreq/speedstep-ich.c
@@ -374,7 +374,7 @@ static struct freq_attr* speedstep_attr[] = {
};
-static const struct cpufreq_driver speedstep_driver = {
+static struct cpufreq_driver speedstep_driver = {
.name = "speedstep-ich",
.verify = speedstep_verify,
.target = speedstep_target,