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/powernow-k8.c | |
parent | b44755cfaa72e7ed3d831a946bb4e7dfe7548966 (diff) | |
download | lwn-aeeddc1435c37fa3fc844f31d39c185b08de4158.tar.gz lwn-aeeddc1435c37fa3fc844f31d39c185b08de4158.zip |
[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/powernow-k8.c')
-rw-r--r-- | arch/i386/kernel/cpu/cpufreq/powernow-k8.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/powernow-k8.c b/arch/i386/kernel/cpu/cpufreq/powernow-k8.c index fe3b67005ebb..8ed7b3af0553 100644 --- a/arch/i386/kernel/cpu/cpufreq/powernow-k8.c +++ b/arch/i386/kernel/cpu/cpufreq/powernow-k8.c @@ -1305,7 +1305,7 @@ static struct freq_attr* powernow_k8_attr[] = { NULL, }; -static struct cpufreq_driver cpufreq_amd64_driver = { +static const struct cpufreq_driver cpufreq_amd64_driver = { .verify = powernowk8_verify, .target = powernowk8_target, .init = powernowk8_cpu_init, |