From e0bbf38d7a13dd23da4eae2f4bdd32a30c5cda86 Mon Sep 17 00:00:00 2001 From: Choonghoon Park Date: Fri, 15 Jun 2018 09:26:53 +0900 Subject: [PATCH] cpufreq: eff: fix configuration Fix typo PSTATE_EXYNOS_HAFM to CONFIG_PSTATE_EXYNOS_HAFM Change-Id: I541dd9cf2f90a7fd6d2a15fa22dd7ec494e5e68c --- drivers/cpufreq/exynos-ff.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/cpufreq/exynos-ff.c b/drivers/cpufreq/exynos-ff.c index 5d50d7d3696c..b4c828f5e2c1 100644 --- a/drivers/cpufreq/exynos-ff.c +++ b/drivers/cpufreq/exynos-ff.c @@ -36,7 +36,7 @@ static bool policy_need_filter(struct cpufreq_policy *policy) return cpumask_intersects(policy->cpus, &eff_driver->cpus); } -#ifdef PSTATE_EXYNOS_HAFM_TB +#ifdef CONFIG_PSTATE_EXYNOS_HAFM_TB static bool check_filtering(unsigned int target_freq, unsigned int flag) { unsigned int cur_freq; @@ -89,7 +89,7 @@ int __cpufreq_driver_target(struct cpufreq_policy *policy, if (policy_need_filter(policy)) { mutex_lock(&eff_driver->lock); -#ifdef PSTATE_EXYNOS_HAFM_TB +#ifdef CONFIG_PSTATE_EXYNOS_HAFM_TB if (check_filtering(target_freq, flag)) goto out; @@ -134,7 +134,7 @@ out: void cpufreq_policy_apply_limits(struct cpufreq_policy *policy) { -#ifdef PSTATE_EXYNOS_HAFM_TB +#ifdef CONFIG_PSTATE_EXYNOS_HAFM_TB if (policy_need_filter(policy)) { if (check_boost_freq_throttled(policy)) { pr_debug("exynos-ff: wait for boost freq throttling completion\n"); -- 2.20.1