From: Chanwoo Choi Date: Thu, 20 Mar 2014 02:59:13 +0000 (+0900) Subject: PM / devfreq: exynos5: Add CONFIG_PM_OPP dependency to fix probe fail X-Git-Tag: firefly_0821_release~176^2~3768^2~5^2~2^2^2~10 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ae29fa1d50bead8f1971f30aa9a73bfbff984824;p=firefly-linux-kernel-4.4.55.git 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 Reviewed-by: Tomasz Figa Signed-off-by: MyungJoo Ham --- 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 depends on SOC_EXYNOS5250 select ARCH_HAS_OPP select DEVFREQ_GOV_SIMPLE_ONDEMAND + select PM_OPP help This adds the DEVFREQ driver for Exynos5250 bus interface (vdd_int). It reads PPMU counters of memory controllers and adjusts the