ANDROID: cpufreq: conservative: fix duplicate 'static' error

Fix following duplicate 'static' declaration error:

drivers/cpufreq/cpufreq_conservative.c:308:1: error: duplicate ‘static’
 static struct dbs_governor cs_governor = {
 ^
scripts/Makefile.build:293: recipe for target 'drivers/cpufreq/cpufreq_conservative.o' failed

Fixes: ("ANDROID: [CPUFREQ] Don't export governors for default governor")
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
This commit is contained in:
Amit Pundir
2017-01-30 13:55:23 +05:30
committed by Dmitry Shmidt
parent 71f1b59471
commit a9a8266a89

View File

@@ -305,7 +305,7 @@ static void cs_start(struct cpufreq_policy *policy)
#ifndef CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE
static
#endif
static struct dbs_governor cs_governor = {
struct dbs_governor cs_governor = {
.gov = CPUFREQ_DBS_GOVERNOR_INITIALIZER("conservative"),
.kobj_type = { .default_attrs = cs_attributes },
.gov_dbs_timer = cs_dbs_timer,