diff mbox

[vireshk] cpufreq: __cpufreq_boost_supported() can be static

Message ID 20150116065519.GA30921@lkp-sb04 (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Fengguang Wu Jan. 16, 2015, 6:55 a.m. UTC
drivers/cpufreq/cpufreq.c:512:5: sparse: symbol '__cpufreq_boost_supported' was not declared. Should it be static?

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 cpufreq.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
diff mbox

Patch

diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
index c151f4b..4e3d42f 100644
--- a/drivers/cpufreq/cpufreq.c
+++ b/drivers/cpufreq/cpufreq.c
@@ -509,7 +509,7 @@  unlock:
 	return ret;
 }
 
-int __cpufreq_boost_supported(void)
+static int __cpufreq_boost_supported(void)
 {
 	if (likely(cpufreq_driver))
 		return cpufreq_driver->boost_supported;