diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-11-15 06:49:44 (GMT) |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2012-11-15 08:48:40 (GMT) |
commit | a0f846c23cf8e52da054abb52294d54e4b1986f9 (patch) | |
tree | 3c9f43b2edb78f61f9f29286bb6c303c848aff7c /drivers/thermal | |
parent | 160b7d8048b87cb594e1a22b5345b468b6c2c40e (diff) | |
download | linux-a0f846c23cf8e52da054abb52294d54e4b1986f9.tar.xz |
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: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal')
-rw-r--r-- | drivers/thermal/cpu_cooling.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c index 392d57d..6f94c2c 100644 --- a/drivers/thermal/cpu_cooling.c +++ b/drivers/thermal/cpu_cooling.c @@ -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. |