aboutsummaryrefslogtreecommitdiff
path: root/arch/i386/kernel/cpu/cpufreq/elanfreq.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/elanfreq.c
parentb44755cfaa72e7ed3d831a946bb4e7dfe7548966 (diff)
[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/elanfreq.c')
-rw-r--r--arch/i386/kernel/cpu/cpufreq/elanfreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/elanfreq.c b/arch/i386/kernel/cpu/cpufreq/elanfreq.c
index f317276afa7..6905de3a11e 100644
--- a/arch/i386/kernel/cpu/cpufreq/elanfreq.c
+++ b/arch/i386/kernel/cpu/cpufreq/elanfreq.c
@@ -267,7 +267,7 @@ static struct freq_attr* elanfreq_attr[] = {
};
-static struct cpufreq_driver elanfreq_driver = {
+static const struct cpufreq_driver elanfreq_driver = {
.get = elanfreq_get_cpu_frequency,
.verify = elanfreq_verify,
.target = elanfreq_target,