From: Choonghoon Park Date: Fri, 15 Jun 2018 10:35:15 +0000 (+0900) Subject: cpufreq: acme: move API under interface category X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b1fdb63b1cca6d2cefb09d3ae70af1723c38b54a;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git cpufreq: acme: move API under interface category Change-Id: I9829edbd35287f0f27f324b88b029f84e9a50c44 --- 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;