summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/cpufreq.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2012-10-26 00:51:32 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2012-11-15 00:33:08 +0100
commitda58445570326ac2a342770a9c9a2646276e1721 (patch)
treedc598154919cbc98771cb304da2b623d5c178d0c /drivers/cpufreq/cpufreq.c
parent1e7586a18a2ab69a160837c0a4be31f7147cfb5e (diff)
downloadblackbird-op-linux-da58445570326ac2a342770a9c9a2646276e1721.tar.gz
blackbird-op-linux-da58445570326ac2a342770a9c9a2646276e1721.zip
cpufreq: Fix sparse warning by making local function static
cpufreq_disabled() is a local function, so should be marked static. 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/cpufreq.c')
-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 f552d5fe0f8f..261ef654a352 100644
--- a/drivers/cpufreq/cpufreq.c
+++ b/drivers/cpufreq/cpufreq.c
@@ -129,7 +129,7 @@ static int __init init_cpufreq_transition_notifier_list(void)
pure_initcall(init_cpufreq_transition_notifier_list);
static int off __read_mostly;
-int cpufreq_disabled(void)
+static int cpufreq_disabled(void)
{
return off;
}
OpenPOWER on IntegriCloud