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: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
Родитель
5d69030db5
Коммит
3f869d6d41
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Загрузка…
Ссылка в новой задаче