diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-11-15 01:49:44 -0500 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2012-11-15 03:48:40 -0500 |
commit | a0f846c23cf8e52da054abb52294d54e4b1986f9 (patch) | |
tree | 3c9f43b2edb78f61f9f29286bb6c303c848aff7c /drivers/thermal | |
parent | 160b7d8048b87cb594e1a22b5345b468b6c2c40e (diff) |
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 392d57d8590d..6f94c2cac1f0 100644 --- a/drivers/thermal/cpu_cooling.c +++ b/drivers/thermal/cpu_cooling.c | |||
@@ -64,7 +64,7 @@ static unsigned int cpufreq_dev_count; | |||
64 | 64 | ||
65 | /* notify_table passes value to the CPUFREQ_ADJUST callback function. */ | 65 | /* notify_table passes value to the CPUFREQ_ADJUST callback function. */ |
66 | #define NOTIFY_INVALID NULL | 66 | #define NOTIFY_INVALID NULL |
67 | struct cpufreq_cooling_device *notify_device; | 67 | static struct cpufreq_cooling_device *notify_device; |
68 | 68 | ||
69 | /** | 69 | /** |
70 | * get_idr - function to get a unique id. | 70 | * get_idr - function to get a unique id. |