Skip to content

Commit

Permalink
cpufreq: brcmstb-avs-cpufreq: make symbol brcm_avs_cpufreq_attr static
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Markus Mayer <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
  • Loading branch information
Wei Yongjun authored and rafaeljw committed Nov 11, 2016
1 parent a410c03 commit e7d040b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/cpufreq/brcmstb-avs-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e7d040b

Please sign in to comment.