提交 94ab5e03 编写于 作者: R Rafael J. Wysocki

cpufreq: governor: Make gov_set_update_util() static

The gov_set_update_util() routine is only used internally by the
common governor code and it doesn't need to be exported, so make
it static.

No functional changes.
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: NViresh Kumar <viresh.kumar@linaro.org>
上级 1112e9d8
...@@ -261,8 +261,8 @@ unsigned int dbs_update(struct cpufreq_policy *policy) ...@@ -261,8 +261,8 @@ unsigned int dbs_update(struct cpufreq_policy *policy)
} }
EXPORT_SYMBOL_GPL(dbs_update); EXPORT_SYMBOL_GPL(dbs_update);
void gov_set_update_util(struct policy_dbs_info *policy_dbs, static void gov_set_update_util(struct policy_dbs_info *policy_dbs,
unsigned int delay_us) unsigned int delay_us)
{ {
struct cpufreq_policy *policy = policy_dbs->policy; struct cpufreq_policy *policy = policy_dbs->policy;
int cpu; int cpu;
...@@ -276,7 +276,6 @@ void gov_set_update_util(struct policy_dbs_info *policy_dbs, ...@@ -276,7 +276,6 @@ void gov_set_update_util(struct policy_dbs_info *policy_dbs,
cpufreq_set_update_util_data(cpu, &cdbs->update_util); cpufreq_set_update_util_data(cpu, &cdbs->update_util);
} }
} }
EXPORT_SYMBOL_GPL(gov_set_update_util);
static inline void gov_clear_update_util(struct cpufreq_policy *policy) static inline void gov_clear_update_util(struct cpufreq_policy *policy)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册