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>
This commit is contained in:
Viresh Kumar 2012-10-26 00:51:32 +02:00 committed by Rafael J. Wysocki
parent 1e7586a18a
commit da58445570
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}