From 1c6282557927cb5c000bb54cd2276ed2a51f5b4e Mon Sep 17 00:00:00 2001 From: Park Bumgyu Date: Wed, 14 Mar 2018 15:04:43 +0900 Subject: [PATCH] cpufreq: acme: add ready/exit callback ready/exit callback will be used by thermal. Change-Id: Ieab321d3d49c25a2772569b0f7c7cb701e0acda0 Signed-off-by: Park Bumgyu --- drivers/cpufreq/exynos-acme.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/drivers/cpufreq/exynos-acme.c b/drivers/cpufreq/exynos-acme.c index 6648377e51c4..bcc14dbb30a5 100644 --- a/drivers/cpufreq/exynos-acme.c +++ b/drivers/cpufreq/exynos-acme.c @@ -441,6 +441,15 @@ static int exynos_cpufreq_resume(struct cpufreq_policy *policy) return __exynos_cpufreq_resume(domain); } +static void exynos_cpufreq_ready(struct cpufreq_policy *policy) +{ +} + +static int exynos_cpufreq_exit(struct cpufreq_policy *policy) +{ + return 0; +} + static int exynos_cpufreq_pm_notifier(struct notifier_block *notifier, unsigned long pm_event, void *v) { @@ -474,6 +483,8 @@ static struct cpufreq_driver exynos_driver = { .get = exynos_cpufreq_get, .suspend = exynos_cpufreq_suspend, .resume = exynos_cpufreq_resume, + .ready = exynos_cpufreq_ready, + .exit = exynos_cpufreq_exit, .attr = cpufreq_generic_attr, }; -- 2.20.1