summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-09-03 08:45:21 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-09-07 21:47:42 +0200
commitd075a88e515278b3e2d5ec39e80e6fd3c6e48841 (patch)
treee592bc97aa91e73bd89f2c4372ef4ebb4cfa2120 /drivers
parentcpufreq: Add ARM_MT8173_CPUFREQ dependency on THERMAL (diff)
downloadlinux-d075a88e515278b3e2d5ec39e80e6fd3c6e48841.tar.xz
linux-d075a88e515278b3e2d5ec39e80e6fd3c6e48841.zip
cpufreq: staticize cpufreq_cpu_get_raw()
cpufreq_cpu_get_raw() isn't used by any external users, staticize it. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/cpufreq/cpufreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
index abb776827bb1..feb6dc51efa7 100644
--- a/drivers/cpufreq/cpufreq.c
+++ b/drivers/cpufreq/cpufreq.c
@@ -239,7 +239,7 @@ int cpufreq_generic_init(struct cpufreq_policy *policy,
EXPORT_SYMBOL_GPL(cpufreq_generic_init);
/* Only for cpufreq core internal use */
-struct cpufreq_policy *cpufreq_cpu_get_raw(unsigned int cpu)
+static struct cpufreq_policy *cpufreq_cpu_get_raw(unsigned int cpu)
{
struct cpufreq_policy *policy = per_cpu(cpufreq_cpu_data, cpu);