summaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/cpu/cpufreq/speedstep-smi.c
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2007-02-22 19:08:27 -0500
committerDave Jones <davej@redhat.com>2007-02-22 19:08:27 -0500
commitaeeddc1435c37fa3fc844f31d39c185b08de4158 (patch)
tree46269bbff184799c2cded9ccd433e980c38f7b4b /arch/i386/kernel/cpu/cpufreq/speedstep-smi.c
parentb44755cfaa72e7ed3d831a946bb4e7dfe7548966 (diff)
downloadop-kernel-dev-aeeddc1435c37fa3fc844f31d39c185b08de4158.zip
op-kernel-dev-aeeddc1435c37fa3fc844f31d39c185b08de4158.tar.gz
[CPUFREQ] constify cpufreq_driver where possible.
Not all cases are possible due to ->flags being set at runtime on some drivers. Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/i386/kernel/cpu/cpufreq/speedstep-smi.c')
-rw-r--r--arch/i386/kernel/cpu/cpufreq/speedstep-smi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/speedstep-smi.c b/arch/i386/kernel/cpu/cpufreq/speedstep-smi.c
index ff0d898..d4b7404 100644
--- a/arch/i386/kernel/cpu/cpufreq/speedstep-smi.c
+++ b/arch/i386/kernel/cpu/cpufreq/speedstep-smi.c
@@ -332,7 +332,7 @@ static struct freq_attr* speedstep_attr[] = {
NULL,
};
-static struct cpufreq_driver speedstep_driver = {
+static const struct cpufreq_driver speedstep_driver = {
.name = "speedstep-smi",
.verify = speedstep_verify,
.target = speedstep_target,
OpenPOWER on IntegriCloud