summaryrefslogtreecommitdiff
path: root/drivers/thermal
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-11-15 12:19:44 +0530
committerZhang Rui <rui.zhang@intel.com>2012-11-15 16:48:40 +0800
commita0f846c23cf8e52da054abb52294d54e4b1986f9 (patch)
tree3c9f43b2edb78f61f9f29286bb6c303c848aff7c /drivers/thermal
parent160b7d8048b87cb594e1a22b5345b468b6c2c40e (diff)
downloadlinux-3.10-a0f846c23cf8e52da054abb52294d54e4b1986f9.tar.gz
linux-3.10-a0f846c23cf8e52da054abb52294d54e4b1986f9.tar.bz2
linux-3.10-a0f846c23cf8e52da054abb52294d54e4b1986f9.zip
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c
index 392d57d8590..6f94c2cac1f 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.