From b1fdb63b1cca6d2cefb09d3ae70af1723c38b54a Mon Sep 17 00:00:00 2001 From: Choonghoon Park Date: Fri, 15 Jun 2018 19:35:15 +0900 Subject: [PATCH] cpufreq: acme: move API under interface category Change-Id: I9829edbd35287f0f27f324b88b029f84e9a50c44 --- drivers/cpufreq/exynos-acme.c | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/drivers/cpufreq/exynos-acme.c b/drivers/cpufreq/exynos-acme.c index 861436c8a833..57e7fd96e20e 100644 --- a/drivers/cpufreq/exynos-acme.c +++ b/drivers/cpufreq/exynos-acme.c @@ -305,17 +305,6 @@ static int update_freq(struct exynos_cpufreq_domain *domain, return ret; } -/********************************************************************* - * EXYNOS CPUFREQ DRIVER API * - *********************************************************************/ -void exynos_cpufreq_ready_list_add(struct exynos_cpufreq_ready_block *rb) -{ - if (!rb) - return; - - list_add(&rb->list, &ready_list); -} - /********************************************************************* * EXYNOS CPUFREQ DRIVER INTERFACE * *********************************************************************/ @@ -805,6 +794,15 @@ unsigned int exynos_cpufreq_get_locked(unsigned int cpu) } EXPORT_SYMBOL(exynos_cpufreq_get_locked); +void exynos_cpufreq_ready_list_add(struct exynos_cpufreq_ready_block *rb) +{ + if (!rb) + return; + + list_add(&rb->list, &ready_list); +} +EXPORT_SYMBOL(exynos_cpufreq_ready_list_add); + unsigned int __weak exynos_pstate_get_boost_freq(int cpu) { return 0; -- 2.20.1