mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04: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 <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
This commit is contained in:
parent
1e7586a18a
commit
da58445570
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue