diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2012-10-26 00:51:32 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2012-11-15 00:33:08 +0100 |
commit | da58445570326ac2a342770a9c9a2646276e1721 (patch) | |
tree | dc598154919cbc98771cb304da2b623d5c178d0c /drivers/cpufreq | |
parent | 1e7586a18a2ab69a160837c0a4be31f7147cfb5e (diff) |
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')
-rw-r--r-- | drivers/cpufreq/cpufreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index f552d5fe0f8..261ef654a35 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; } |