Commit e3f5ed93 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki

cpufreq: governor: Make dbs_data_mutex static

That mutex is only used by cpufreq_governor_dbs() and it doesn't
need to be exported to modules, so make it static and drop the
export incantation.

No functional changes.
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent 47ebaac1
......@@ -24,8 +24,7 @@
static DEFINE_PER_CPU(struct cpu_dbs_info, cpu_dbs);
DEFINE_MUTEX(dbs_data_mutex);
EXPORT_SYMBOL_GPL(dbs_data_mutex);
static DEFINE_MUTEX(dbs_data_mutex);
/* Common sysfs tunables */
/**
......
......@@ -178,7 +178,6 @@ struct od_ops {
unsigned int freq_next, unsigned int relation);
};
extern struct mutex dbs_data_mutex;
unsigned int dbs_update(struct cpufreq_policy *policy);
int cpufreq_governor_dbs(struct cpufreq_policy *policy, unsigned int event);
void od_register_powersave_bias_handler(unsigned int (*f)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment