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 b9c69e0432)
This commit is contained in:
Chanwoo Choi
2017-08-24 10:42:51 +09:00
committed by Tao Huang
parent a422ab1cb2
commit ba65f38c4d

View File

@@ -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