aboutsummaryrefslogtreecommitdiff
path: root/drivers/cpufreq/cpufreq_powersave.c
diff options
context:
space:
mode:
authorAmit Kucheria2019-10-21 17:45:12 +0530
committerDaniel Lezcano2019-11-07 07:00:26 +0100
commit3f6ec871e1c2b360aaf022e90bb99dcc016b3874 (patch)
tree05791f67477a1326880369eaaf32f230504764e0 /drivers/cpufreq/cpufreq_powersave.c
parentae16a688f6916e06ef48d0ae9b608c02d0e507cd (diff)
cpufreq: Initialize the governors in core_initcall
Initialize the cpufreq governors earlier to allow for earlier performance control during the boot process. Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/b98eae9b44eb2f034d7f5d12a161f5f831be1eb7.1571656015.git.amit.kucheria@linaro.org
Diffstat (limited to 'drivers/cpufreq/cpufreq_powersave.c')
-rw-r--r--drivers/cpufreq/cpufreq_powersave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq_powersave.c b/drivers/cpufreq/cpufreq_powersave.c
index c143dc237d87..1ae66019eb83 100644
--- a/drivers/cpufreq/cpufreq_powersave.c
+++ b/drivers/cpufreq/cpufreq_powersave.c
@@ -43,7 +43,7 @@ struct cpufreq_governor *cpufreq_default_governor(void)
return &cpufreq_gov_powersave;
}
-fs_initcall(cpufreq_gov_powersave_init);
+core_initcall(cpufreq_gov_powersave_init);
#else
module_init(cpufreq_gov_powersave_init);
#endif