Message ID | 20141219081756.GA56678@lkp-sb04 (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/drivers/cpufreq/cpufreq_stats.c b/drivers/cpufreq/cpufreq_stats.c index d333659..de55ca8 100644 --- a/drivers/cpufreq/cpufreq_stats.c +++ b/drivers/cpufreq/cpufreq_stats.c @@ -16,7 +16,7 @@ #include <linux/slab.h> #include <linux/cputime.h> -DEFINE_MUTEX(cpufreq_stats_lock); +static DEFINE_MUTEX(cpufreq_stats_lock); struct cpufreq_stats { unsigned int total_trans;
drivers/cpufreq/cpufreq_stats.c:19:1: sparse: symbol 'cpufreq_stats_lock' was not declared. Should it be static? Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> --- cpufreq_stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html