thermal: cpu_cooling: Make 'notify_device' static
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 15 Nov 2012 06:49:44 +0000 (12:19 +0530)
committerZhang Rui <rui.zhang@intel.com>
Thu, 15 Nov 2012 08:48:40 +0000 (16:48 +0800)
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>
drivers/thermal/cpu_cooling.c

index 392d57d8590d40b8de356cd603db5128c991922a..6f94c2cac1f0806085e5efa6bd09a9de55b7aaa5 100644 (file)
@@ -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.