PM / devfreq: Add dependency on PM_OPP
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 21 Aug 2017 05:34:28 +0000 (14:34 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 13 Sep 2017 10:23:58 +0000 (19:23 +0900)
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.

Change-Id: I1a2b56c1653b9c1f42454b46ab45d6e1af2b069f
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
drivers/devfreq/Kconfig

index 8766cbaf20e225e801724eb296208084029f0669..9a580497fd009aac0dc79cf287411bbeda62532f 100644 (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