提交 3f869d6d 编写于 作者: V Viresh Kumar 提交者: Rafael J. Wysocki

cpufreq: Add EXPORT_SYMBOL_GPL for have_governor_per_policy

This patch adds: EXPORT_SYMBOL_GPL(have_governor_per_policy), so that
this routine can be used by modules too.
Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 5d69030d
...@@ -132,6 +132,7 @@ bool have_governor_per_policy(void) ...@@ -132,6 +132,7 @@ bool have_governor_per_policy(void)
{ {
return cpufreq_driver->have_governor_per_policy; return cpufreq_driver->have_governor_per_policy;
} }
EXPORT_SYMBOL_GPL(have_governor_per_policy);
static struct cpufreq_policy *__cpufreq_cpu_get(unsigned int cpu, bool sysfs) static struct cpufreq_policy *__cpufreq_cpu_get(unsigned int cpu, bool sysfs)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册