diff options
Diffstat (limited to 'include/linux/cpufreq.h')
| -rw-r--r-- | include/linux/cpufreq.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index 11be48e0d168..6216115c7789 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h | |||
| @@ -324,11 +324,16 @@ static inline unsigned int cpufreq_get(unsigned int cpu) | |||
| 324 | /* query the last known CPU freq (in kHz). If zero, cpufreq couldn't detect it */ | 324 | /* query the last known CPU freq (in kHz). If zero, cpufreq couldn't detect it */ |
| 325 | #ifdef CONFIG_CPU_FREQ | 325 | #ifdef CONFIG_CPU_FREQ |
| 326 | unsigned int cpufreq_quick_get(unsigned int cpu); | 326 | unsigned int cpufreq_quick_get(unsigned int cpu); |
| 327 | unsigned int cpufreq_quick_get_max(unsigned int cpu); | ||
| 327 | #else | 328 | #else |
| 328 | static inline unsigned int cpufreq_quick_get(unsigned int cpu) | 329 | static inline unsigned int cpufreq_quick_get(unsigned int cpu) |
| 329 | { | 330 | { |
| 330 | return 0; | 331 | return 0; |
| 331 | } | 332 | } |
| 333 | static inline unsigned int cpufreq_quick_get_max(unsigned int cpu) | ||
| 334 | { | ||
| 335 | return 0; | ||
| 336 | } | ||
| 332 | #endif | 337 | #endif |
| 333 | 338 | ||
| 334 | 339 | ||
