mirror of https://github.com/OpenIPC/firmware.git
16 lines
655 B
Diff
16 lines
655 B
Diff
diff -drupN a/drivers/cpufreq/cpufreq_conservative.c b/drivers/cpufreq/cpufreq_conservative.c
|
|
--- a/drivers/cpufreq/cpufreq_conservative.c 2018-08-06 17:23:04.000000000 +0300
|
|
+++ b/drivers/cpufreq/cpufreq_conservative.c 2022-06-12 05:28:14.000000000 +0300
|
|
@@ -302,7 +302,10 @@ static void cs_start(struct cpufreq_poli
|
|
dbs_info->requested_freq = policy->cur;
|
|
}
|
|
|
|
-static struct dbs_governor cs_governor = {
|
|
+#ifndef CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE
|
|
+static
|
|
+#endif
|
|
+struct dbs_governor cs_governor = {
|
|
.gov = CPUFREQ_DBS_GOVERNOR_INITIALIZER("conservative"),
|
|
.kobj_type = { .default_attrs = cs_attributes },
|
|
.gov_dbs_timer = cs_dbs_timer,
|