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 /include/linux/cpufreq.h | |
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 'include/linux/cpufreq.h')
-rw-r--r-- | include/linux/cpufreq.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index 0899e2cdcdd1..3a25235d79da 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h | |||
@@ -225,8 +225,8 @@ struct cpufreq_driver { | |||
225 | #define CPUFREQ_PM_NO_WARN 0x04 /* don't warn on suspend/resume speed | 225 | #define CPUFREQ_PM_NO_WARN 0x04 /* don't warn on suspend/resume speed |
226 | * mismatches */ | 226 | * mismatches */ |
227 | 227 | ||
228 | int cpufreq_register_driver(struct cpufreq_driver *driver_data); | 228 | int cpufreq_register_driver(const struct cpufreq_driver *driver_data); |
229 | int cpufreq_unregister_driver(struct cpufreq_driver *driver_data); | 229 | int cpufreq_unregister_driver(const struct cpufreq_driver *driver_data); |
230 | 230 | ||
231 | 231 | ||
232 | void cpufreq_notify_transition(struct cpufreq_freqs *freqs, unsigned int state); | 232 | void cpufreq_notify_transition(struct cpufreq_freqs *freqs, unsigned int state); |