mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
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:
committed by
Dmitry Shmidt
parent
71f1b59471
commit
a9a8266a89
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user