From: Lee Jones Date: Wed, 15 Jul 2020 08:26:33 +0000 (+0100) Subject: cpufreq: intel_pstate: Supply struct attribute description for get_aperf_mperf_shift() X-Git-Tag: v5.9-rc1~175^2~1^2~2^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8f23d1f12cf1515693893aae3a79e6079bcdcf85;p=thirdparty%2Flinux.git cpufreq: intel_pstate: Supply struct attribute description for get_aperf_mperf_shift() Fixes the following W=1 kernel build warning(s): drivers/cpufreq/intel_pstate.c:293: warning: Function parameter or member 'get_aperf_mperf_shift' not described in 'pstate_funcs' Suggested-by: "Rafael J. Wysocki" Signed-off-by: Lee Jones Acked-by: Viresh Kumar [ rjw: Remove line break ] Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c index 94cd07678ee35..57130a16d242b 100644 --- a/drivers/cpufreq/intel_pstate.c +++ b/drivers/cpufreq/intel_pstate.c @@ -275,6 +275,7 @@ static struct cpudata **all_cpu_data; * @get_min: Callback to get minimum P state * @get_turbo: Callback to get turbo P state * @get_scaling: Callback to get frequency scaling factor + * @get_aperf_mperf_shift: Callback to get the APERF vs MPERF frequency difference * @get_val: Callback to convert P state to actual MSR write value * @get_vid: Callback to get VID data for Atom platforms *