mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 00:04:15 +08:00
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:
parent
1e7586a18a
commit
da58445570
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user