summaryrefslogtreecommitdiff
path: root/drivers/devfreq/Kconfig
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2017-08-24 10:42:51 +0900
committerTao Huang <huangtao@rock-chips.com>2018-11-13 14:02:49 +0800
commitba65f38c4d7b4eaa146eed7fbdc177bb631a2786 (patch)
treec4e04f915fbdcd90740f590f8a26fcedaf6d1e8f /drivers/devfreq/Kconfig
parenta422ab1cb297686fc9211e5c2d1ede6ef93592ac (diff)
UPSTREAM: PM / devfreq: Add dependency on PM_OPP
The devfreq ues the OPP library to handle the voltage and frequency for the device basically. This patch adds the dependency on CONFIG_PM_OPP in order to prevent either the build break or the unknow behavior. Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com> Change-Id: I06946f5a40266c0e1facc228bdac75390bc46434 Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com> (cherry picked from commit b9c69e043266db96f21024d819be3f7a842fc8eb)
Diffstat (limited to 'drivers/devfreq/Kconfig')
-rw-r--r--drivers/devfreq/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/devfreq/Kconfig b/drivers/devfreq/Kconfig
index 2967a5c54a47..edda7a3e7641 100644
--- a/drivers/devfreq/Kconfig
+++ b/drivers/devfreq/Kconfig
@@ -1,6 +1,7 @@
menuconfig PM_DEVFREQ
bool "Generic Dynamic Voltage and Frequency Scaling (DVFS) support"
select SRCU
+ select PM_OPP
help
A device may have a list of frequencies and voltages available.
devfreq, a generic DVFS framework can be registered for a device