summaryrefslogtreecommitdiff
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-09-03 12:15:21 +0530
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-09-07 21:47:42 +0200
commitd075a88e515278b3e2d5ec39e80e6fd3c6e48841 (patch)
treee592bc97aa91e73bd89f2c4372ef4ebb4cfa2120 /drivers/cpufreq
parent5269e7067cd66f4797760f160be21ff50f2d1582 (diff)
downloadlwn-d075a88e515278b3e2d5ec39e80e6fd3c6e48841.tar.gz
lwn-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/cpufreq')
-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);