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/sc520_freq.c | |
parent | b44755cfaa72e7ed3d831a946bb4e7dfe7548966 (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/sc520_freq.c')
-rw-r--r-- | arch/i386/kernel/cpu/cpufreq/sc520_freq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/sc520_freq.c b/arch/i386/kernel/cpu/cpufreq/sc520_freq.c index b8fb4b521c62..eddbe04a0841 100644 --- a/arch/i386/kernel/cpu/cpufreq/sc520_freq.c +++ b/arch/i386/kernel/cpu/cpufreq/sc520_freq.c | |||
@@ -138,7 +138,7 @@ static struct freq_attr* sc520_freq_attr[] = { | |||
138 | }; | 138 | }; |
139 | 139 | ||
140 | 140 | ||
141 | static struct cpufreq_driver sc520_freq_driver = { | 141 | static const struct cpufreq_driver sc520_freq_driver = { |
142 | .get = sc520_freq_get_cpu_frequency, | 142 | .get = sc520_freq_get_cpu_frequency, |
143 | .verify = sc520_freq_verify, | 143 | .verify = sc520_freq_verify, |
144 | .target = sc520_freq_target, | 144 | .target = sc520_freq_target, |