Skip to content

Commit 8f23d1f

Browse files
Lee Jonesrafaeljw
authored andcommitted
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" <[email protected]> Signed-off-by: Lee Jones <[email protected]> Acked-by: Viresh Kumar <[email protected]> [ rjw: Remove line break ] Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 3098174 commit 8f23d1f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/cpufreq/intel_pstate.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ static struct cpudata **all_cpu_data;
275275
* @get_min: Callback to get minimum P state
276276
* @get_turbo: Callback to get turbo P state
277277
* @get_scaling: Callback to get frequency scaling factor
278+
* @get_aperf_mperf_shift: Callback to get the APERF vs MPERF frequency difference
278279
* @get_val: Callback to convert P state to actual MSR write value
279280
* @get_vid: Callback to get VID data for Atom platforms
280281
*

0 commit comments

Comments
 (0)