Skip to content

Commit

Permalink
thermal: cpu_cooling: Make 'notify_device' static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sachin Kamat authored and Zhang Rui committed Nov 15, 2012
1 parent 160b7d8 commit a0f846c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/thermal/cpu_cooling.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a0f846c

Please sign in to comment.