diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/cpufreq.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index 68571eca8e70..a49e134b2b6a 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h @@ -297,6 +297,7 @@ enum { #endif /* CONFIG_CPU_FREQ_24_API */ +#if defined(CONFIG_CPU_FREQ_TABLE) || defined(CONFIG_CPU_FREQ_TABLE_MODULE) /********************************************************************* * FREQUENCY TABLE HELPERS * *********************************************************************/ @@ -326,4 +327,6 @@ int cpufreq_frequency_table_target(struct cpufreq_policy *policy, unsigned int relation, unsigned int *index); +#endif /* CONFIG_CPU_FREQ_TABLE */ + #endif /* _LINUX_CPUFREQ_H */ |
