提交 da584455 编写于 作者: V Viresh Kumar 提交者: Rafael J. Wysocki

cpufreq: Fix sparse warning by making local function static

cpufreq_disabled() is a local function, so should be marked static.
Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 1e7586a1
...@@ -129,7 +129,7 @@ static int __init init_cpufreq_transition_notifier_list(void) ...@@ -129,7 +129,7 @@ static int __init init_cpufreq_transition_notifier_list(void)
pure_initcall(init_cpufreq_transition_notifier_list); pure_initcall(init_cpufreq_transition_notifier_list);
static int off __read_mostly; static int off __read_mostly;
int cpufreq_disabled(void) static int cpufreq_disabled(void)
{ {
return off; return off;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册