summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/intel_pstate.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2020-07-14 16:23:55 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-07-15 17:27:15 +0200
commit133c6c84f280362911c020117532fbe538df6ae5 (patch)
tree0096f1af5d8f36cd2a4bd4aa647f0730eb1ebefb /drivers/cpufreq/intel_pstate.c
parentcpufreq: amd_freq_sensitivity: Mark sometimes used ID structs as __maybe_unused (diff)
downloadlinux-133c6c84f280362911c020117532fbe538df6ae5.tar.xz
linux-133c6c84f280362911c020117532fbe538df6ae5.zip
cpufreq: powernv: Make some symbols static
The sparse tool complains as follows: drivers/cpufreq/powernv-cpufreq.c:88:1: warning: symbol 'pstate_revmap' was not declared. Should it be static? drivers/cpufreq/powernv-cpufreq.c:383:18: warning: symbol 'cpufreq_freq_attr_cpuinfo_nominal_freq' was not declared. Should it be static? drivers/cpufreq/powernv-cpufreq.c:669:6: warning: symbol 'gpstate_timer_handler' was not declared. Should it be static? drivers/cpufreq/powernv-cpufreq.c:902:6: warning: symbol 'powernv_cpufreq_work_fn' was not declared. Should it be static? Those symbols are not used outside of this file, so mark them static. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/intel_pstate.c')
0 files changed, 0 insertions, 0 deletions