aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/devfreq
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2014-03-19 22:59:13 -0400
committerMyungJoo Ham <myungjoo.ham@samsung.com>2014-05-24 04:56:38 -0400
commitae29fa1d50bead8f1971f30aa9a73bfbff984824 (patch)
treed17e2570f67484cea3f66bf389a6d8f532310079 /drivers/devfreq
parentedb06a2d4226c65e1c03c279963ca0ede9ccf990 (diff)
PM / devfreq: exynos5: Add CONFIG_PM_OPP dependency to fix probe fail
This patch add CONFIG_PM_OPP dependecy to exynos5_bus driver to fix probe fail. If CONFIG_PM_OPP is disabled, dev_pm_opp_find_freq_floor() will always return ERR_PTR(-EINVAL) error. Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Reviewed-by: Tomasz Figa <t.figa@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 b2de2a1a19ac..c023c5759001 100644
--- a/drivers/devfreq/Kconfig
+++ b/drivers/devfreq/Kconfig
@@ -84,6 +84,7 @@ config ARM_EXYNOS5_BUS_DEVFREQ
84 depends on SOC_EXYNOS5250 84 depends on SOC_EXYNOS5250
85 select ARCH_HAS_OPP 85 select ARCH_HAS_OPP
86 select DEVFREQ_GOV_SIMPLE_ONDEMAND 86 select DEVFREQ_GOV_SIMPLE_ONDEMAND
87 select PM_OPP
87 help 88 help
88 This adds the DEVFREQ driver for Exynos5250 bus interface (vdd_int). 89 This adds the DEVFREQ driver for Exynos5250 bus interface (vdd_int).
89 It reads PPMU counters of memory controllers and adjusts the 90 It reads PPMU counters of memory controllers and adjusts the