summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/cpufreq.c
diff options
context:
space:
mode:
authorSteve Muckle <steve.muckle@linaro.org>2016-07-22 04:24:38 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-07-22 13:53:51 +0200
commitae2c1ca686d4b80258a442fa7f3edc71fd0ebb39 (patch)
tree944bbec02fb2056ca062e5760e4324eb1e72bb35 /drivers/cpufreq/cpufreq.c
parentcpufreq: Disallow ->resolve_freq() for drivers providing ->target_index() (diff)
downloadlinux-ae2c1ca686d4b80258a442fa7f3edc71fd0ebb39.tar.xz
linux-ae2c1ca686d4b80258a442fa7f3edc71fd0ebb39.zip
cpufreq: export cpufreq_driver_resolve_freq()
Export cpufreq_driver_resolve_freq() since governors may be compiled as modules. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Steve Muckle <smuckle@linaro.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/cpufreq.c')
-rw-r--r--drivers/cpufreq/cpufreq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
index 3ef9be3965ff..3dd4884c6f9e 100644
--- a/drivers/cpufreq/cpufreq.c
+++ b/drivers/cpufreq/cpufreq.c
@@ -522,6 +522,7 @@ unsigned int cpufreq_driver_resolve_freq(struct cpufreq_policy *policy,
return target_freq;
}
+EXPORT_SYMBOL_GPL(cpufreq_driver_resolve_freq);
/*********************************************************************
* SYSFS INTERFACE *