summaryrefslogtreecommitdiffstats
path: root/drivers/devfreq
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2017-08-24 10:42:51 +0900
committerMyungJoo Ham <myungjoo.ham@samsung.com>2017-08-28 10:23:57 +0900
commitb9c69e043266db96f21024d819be3f7a842fc8eb (patch)
tree94cb567db8c0f4ee09e4411782e255495822533c /drivers/devfreq
parentf75b0afa190d041c142bdc3f0c6022f61340b8a3 (diff)
downloadlinux-b9c69e043266db96f21024d819be3f7a842fc8eb.tar.bz2
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>
Diffstat (limited to 'drivers/devfreq')
-rw-r--r--drivers/devfreq/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/devfreq/Kconfig b/drivers/devfreq/Kconfig
index 41254e702f1e..6a172d338f6d 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