Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2d7693ef authored by Viresh Kumar's avatar Viresh Kumar Committed by alexax66
Browse files

cpufreq: Move get_cpu_idle_time() to cpufreq.c



Governors other than ondemand and conservative can also use get_cpu_idle_time()
and they aren't required to compile cpufreq_governor.c. So, move these
independent routines to cpufreq.c instead.

Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>

This fixes compiling errors without Ondemand

Based on https://patchwork.kernel.org/patch/2582231/
parent 88fcfac9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment