From: Wei Yongjun Date: Thu, 10 Nov 2016 15:19:05 +0000 (+0000) Subject: cpufreq: brcmstb-avs-cpufreq: make symbol brcm_avs_cpufreq_attr static X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e7d040b8a2ea36a40f0d4176fe558d4e813fb715;p=linux-beck.git cpufreq: brcmstb-avs-cpufreq: make symbol brcm_avs_cpufreq_attr static Fixes the following sparse warning: drivers/cpufreq/brcmstb-avs-cpufreq.c:982:18: warning: symbol 'brcm_avs_cpufreq_attr' was not declared. Should it be static? Signed-off-by: Wei Yongjun Acked-by: Markus Mayer Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/cpufreq/brcmstb-avs-cpufreq.c b/drivers/cpufreq/brcmstb-avs-cpufreq.c index b761d54bb08d..4fda623e55bb 100644 --- a/drivers/cpufreq/brcmstb-avs-cpufreq.c +++ b/drivers/cpufreq/brcmstb-avs-cpufreq.c @@ -979,7 +979,7 @@ cpufreq_freq_attr_ro(brcm_avs_pmap); cpufreq_freq_attr_ro(brcm_avs_voltage); cpufreq_freq_attr_ro(brcm_avs_frequency); -struct freq_attr *brcm_avs_cpufreq_attr[] = { +static struct freq_attr *brcm_avs_cpufreq_attr[] = { &cpufreq_freq_attr_scaling_available_freqs, &brcm_avs_pstate, &brcm_avs_mode,