From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbuild test robot Subject: [PATCH vireshk] cpufreq: stats: cpufreq_stats_lock can be static Date: Fri, 19 Dec 2014 16:17:56 +0800 Message-ID: <20141219081756.GA56678@lkp-sb04> References: <201412191646.uhe36Ci6%fengguang.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mga01.intel.com ([192.55.52.88]:17603 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751890AbaLSISb (ORCPT ); Fri, 19 Dec 2014 03:18:31 -0500 Content-Disposition: inline In-Reply-To: <201412191646.uhe36Ci6%fengguang.wu@intel.com> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Viresh Kumar Cc: kbuild-all@01.org, "Rafael J. Wysocki" , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org drivers/cpufreq/cpufreq_stats.c:19:1: sparse: symbol 'cpufreq_stats_lock' was not declared. Should it be static? Signed-off-by: Fengguang Wu --- cpufreq_stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 #include -DEFINE_MUTEX(cpufreq_stats_lock); +static DEFINE_MUTEX(cpufreq_stats_lock); struct cpufreq_stats { unsigned int total_trans;