diff options
author | Dave Jones <davej@redhat.com> | 2007-02-22 19:08:27 -0500 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2007-02-22 19:08:27 -0500 |
commit | aeeddc1435c37fa3fc844f31d39c185b08de4158 (patch) | |
tree | 46269bbff184799c2cded9ccd433e980c38f7b4b /arch/i386/kernel/cpu/cpufreq/speedstep-smi.c | |
parent | b44755cfaa72e7ed3d831a946bb4e7dfe7548966 (diff) | |
download | op-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.c | 2 |
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, |