Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ../drivers/power/qcom/msm-core.c:111:29: error: array type has incomplete element type ‘struct cpu_pwr_stats’
- static struct cpu_pwr_stats cpu_stats[NR_CPUS];
- ^~~~~~~~~
- ../drivers/power/qcom/msm-core.c: In function ‘repopulate_stats’:
- ../drivers/power/qcom/msm-core.c:220:5: error: invalid use of undefined type ‘struct cpu_pstate_pwr’
- pt[i].power = cpu_node->sp->power[temp_point][i];
- ^
- ../drivers/power/qcom/msm-core.c:220:5: error: dereferencing pointer to incomplete type ‘struct cpu_pstate_pwr’
- ../drivers/power/qcom/msm-core.c:222:46: error: invalid use of undefined type ‘struct cpu_pstate_pwr’
- trace_cpu_stats(cpu, cpu_stats[cpu].temp, pt[0].power,
- ^
- ../drivers/power/qcom/msm-core.c:223:6: error: invalid use of undefined type ‘struct cpu_pstate_pwr’
- pt[cpu_node->sp->num_of_freqs-1].power);
- ^
- ../drivers/power/qcom/msm-core.c: In function ‘msm_core_stats_init’:
- ../drivers/power/qcom/msm-core.c:588:9: error: invalid use of undefined type ‘struct cpu_pstate_pwr’
- pstate[i].freq = cpu_node->sp->table[i].frequency;
- ^
Advertisement
Add Comment
Please, Sign In to add comment