diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-10-03 20:29:07 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-10-16 00:50:33 +0200 |
commit | 70e9e778337973d5bf57004092b360bd3f3c412f (patch) | |
tree | 8c8f19f60b723421764caee1926f15db36bdb35b /drivers/cpufreq/Kconfig | |
parent | 9909aa1e3b69eb05201bdbd2b9bde00c50c1723a (diff) | |
download | op-kernel-dev-70e9e778337973d5bf57004092b360bd3f3c412f.zip op-kernel-dev-70e9e778337973d5bf57004092b360bd3f3c412f.tar.gz |
cpufreq: create cpufreq_generic_init() routine
Many CPUFreq drivers for SMP system (where all cores share same clock lines), do
similar stuff in their ->init() part.
This patch creates a generic routine in cpufreq core which can be used by these
so that we can remove some redundant code.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/Kconfig')
-rw-r--r-- | drivers/cpufreq/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig index 534fcb8..2d06754 100644 --- a/drivers/cpufreq/Kconfig +++ b/drivers/cpufreq/Kconfig @@ -2,6 +2,7 @@ menu "CPU Frequency scaling" config CPU_FREQ bool "CPU Frequency scaling" + select CPU_FREQ_TABLE help CPU Frequency scaling allows you to change the clock speed of CPUs on the fly. This is a nice method to save power, because |