提交 a0f846c2 编写于 作者: S Sachin Kamat 提交者: Zhang Rui

thermal: cpu_cooling: Make 'notify_device' static

Silences the following sparse warning:

drivers/thermal/cpu_cooling.c:67:31: warning:
symbol 'notify_device' was not declared. Should it be static?
Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: NZhang Rui <rui.zhang@intel.com>
上级 160b7d80
......@@ -64,7 +64,7 @@ static unsigned int cpufreq_dev_count;
/* notify_table passes value to the CPUFREQ_ADJUST callback function. */
#define NOTIFY_INVALID NULL
struct cpufreq_cooling_device *notify_device;
static struct cpufreq_cooling_device *notify_device;
/**
* get_idr - function to get a unique id.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册