diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-11-15 10:49:44 +0400 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2012-11-15 12:48:40 +0400 |
commit | a0f846c23cf8e52da054abb52294d54e4b1986f9 (patch) | |
tree | 3c9f43b2edb78f61f9f29286bb6c303c848aff7c /drivers/thermal/cpu_cooling.c | |
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/cpu_cooling.c')
-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; /* 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. |