cpufreq: Add EXPORT_SYMBOL_GPL for have_governor_per_policy
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 16 May 2013 05:09:56 +0000 (05:09 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 27 May 2013 11:20:55 +0000 (13:20 +0200)
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>
drivers/cpufreq/cpufreq.c

index 2d53f47d1747360b8968c7c308c0f975777ef9ab..2f254691ed1f1f5e12020b9cd085e6d9eca2cf76 100644 (file)
@@ -132,6 +132,7 @@ bool have_governor_per_policy(void)
 {
        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)
 {