Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a0f846c2 authored by Sachin Kamat's avatar Sachin Kamat Committed by Zhang Rui
Browse files

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: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent 160b7d80
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.