summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Majewski <l.majewski@samsung.com>2014-02-27 13:38:51 +0100
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:47:08 +0900
commit369cb6aa55c7548899fb78f8f4cd266b9f28a2e5 (patch)
tree2bc27658baa0b555e56eedfd528f694a86746e35
parent218d2b33c942006ff08db627bfb2b3d03b6b8fd7 (diff)
downloadlinux-3.10-369cb6aa55c7548899fb78f8f4cd266b9f28a2e5.tar.gz
linux-3.10-369cb6aa55c7548899fb78f8f4cd266b9f28a2e5.tar.bz2
linux-3.10-369cb6aa55c7548899fb78f8f4cd266b9f28a2e5.zip
cpufreq:LAB:Kconfig: Do not allow LAB to be build as a module
Since LAB depends on ONDEMAND, one needs to prevent situation when both governors are compiled as modules. Change-Id: I5e4f65a856d548397ef53338a8949879bd34051c Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
-rw-r--r--drivers/cpufreq/Kconfig8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig
index 4e11aac7e50..08fbc96fa5b 100644
--- a/drivers/cpufreq/Kconfig
+++ b/drivers/cpufreq/Kconfig
@@ -211,19 +211,19 @@ config CPU_FREQ_GOV_CONSERVATIVE
If in doubt, say N.
config CPU_FREQ_GOV_LAB
- tristate "'lab' cpufreq policy governor"
+ bool "'lab' cpufreq policy governor - ONDEMAND extension"
select CPU_FREQ_TABLE
select CPU_FREQ_GOV_COMMON
select CPU_FREQ_GOV_ONDEMAND
help
'lab' - This driver adds a dynamic cpufreq policy governor.
- To compile this driver as a module, choose M here: the
- module will be called cpufreq_lab.
-
LAB governor shall be regarded as an extension of the ONDEMAND on
platforms with very weak HW support for power management.
+ LAB governor can be either compiled in or not. It is not possible to
+ compile it as module because of explicit ONDEMAND dependency.
+
If in doubt, say N.
config GENERIC_CPUFREQ_CPU0