OSDN Git Service

PM / devfreq: Add dependency on PM_OPP
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 24 Aug 2017 01:42:51 +0000 (10:42 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 28 Aug 2017 01:23:57 +0000 (10: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.

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

index 41254e7..6a172d3 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