diff options
| author | Dominik Brodowski <linux@brodo.de> | 2003-02-14 20:44:13 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-02-14 20:44:13 -0800 |
| commit | 589e8be90ac9053d12eff741aed5430edf062298 (patch) | |
| tree | 0488bce01e62a65a0e1a5e2da93912dba28b0122 /include/linux/cpufreq.h | |
| parent | 4e075e505c8abcbc1ceb16f5fad01900751fe389 (diff) | |
[PATCH] cpufreq: move frequency table helpers to extra module
The CPU frequency table helpers can easily be modularized --
especially as they are not needed on all architectures, or for
all drivers (even on x86 -- see longrun and gx-suspmod)
Diffstat (limited to 'include/linux/cpufreq.h')
| -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 */ |
