summaryrefslogtreecommitdiffstats
path: root/drivers/devfreq
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2017-08-24 03:42:51 +0200
committerMyungJoo Ham <myungjoo.ham@samsung.com>2017-08-28 03:23:57 +0200
commitb9c69e043266db96f21024d819be3f7a842fc8eb (patch)
tree94cb567db8c0f4ee09e4411782e255495822533c /drivers/devfreq
parentPM / devfreq: Move private devfreq_update_stats() into devfreq (diff)
downloadlinux-b9c69e043266db96f21024d819be3f7a842fc8eb.tar.xz
linux-b9c69e043266db96f21024d819be3f7a842fc8eb.zip
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