@@ -11,7 +11,7 @@
#ifdef CONFIG_ENERGY_MODEL
/**
- * em_cap_state - Capacity state of a performance domain
+ * struct em_cap_state - Capacity state of a performance domain
* @frequency: The CPU frequency in KHz, for consistency with CPUFreq
* @power: The power consumed by 1 CPU at this level, in milli-watts
* @cost: The cost coefficient associated with this level, used during
@@ -24,7 +24,7 @@ struct em_cap_state {
};
/**
- * em_perf_domain - Performance domain
+ * struct em_perf_domain - Performance domain
* @table: List of capacity states, in ascending order
* @nr_cap_states: Number of capacity states
* @cpus: Cpumask covering the CPUs of the domain
@@ -137,7 +137,7 @@ EXPORT_SYMBOL_GPL(em_cpu_get);
* If multiple clients register the same performance domain, all but the first
* registration will be ignored.
*
- * Return 0 on success
+ * Return: 0 on success
*/
int em_register_perf_domain(cpumask_t *span, unsigned int nr_states,
struct em_data_callback *cb)
Some of the kerneldoc comments about the Energy Model framework are slightly broken, hence causing errors when compiling the html doc. Fix them. Signed-off-by: Quentin Perret <quentin.perret@arm.com> --- include/linux/energy_model.h | 4 ++-- kernel/power/energy_model.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)