From: Sachin Kamat Date: Thu, 15 Nov 2012 06:49:44 +0000 (+0530) Subject: thermal: cpu_cooling: Make 'notify_device' static X-Git-Tag: firefly_0821_release~3680^2~1495^2~11 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a0f846c23cf8e52da054abb52294d54e4b1986f9;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Zhang Rui --- 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.