The sched domain pointer argument from topology_get_freq_scale() and topology_get_cpu_scale() got removed by commit 7673c8a4c75d ("sched/cpufreq: Remove arch_scale_freq_capacity()'s 'sd' parameter") and commit 8ec59c0f5f49 ("sched/topology: Remove unused 'sd' parameter from arch_scale_cpu_capacity()"). So the 'struct sched_domain' forward declaration is no longer needed. Remove it.
Showing the changes to include/linux (1 of 1 file). Show all
Unified · Split
| @@ -16,7 +16,6 @@ bool topology_parse_cpu_capacity(struct device_node *cpu_node, int cpu); · 15 unmodified lines | |||
| 16 | 16 | ||
| 17 | DECLARE_PER_CPU(unsigned long, cpu_scale); | 17 | DECLARE_PER_CPU(unsigned long, cpu_scale); |
| 18 | 18 | ||
| 19 | struct sched_domain; | ||
| 20 | static inline | 19 | static inline |
| 21 | unsigned long topology_get_cpu_scale(int cpu) | 20 | unsigned long topology_get_cpu_scale(int cpu) |
| 22 | { | 21 | { |