forked from Mirrors/opensbi
lib: utils/fdt: Fix fdt_add_cpu_idle_states() prototype
The function prototype should use the same parameter name as the
documentation and the function definition.
Fixes: 33bf917460
("lib: utils: Add fdt_add_cpu_idle_states() helper function")
Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:

committed by
Anup Patel

parent
56183ca609
commit
bcb81f0cbe
@@ -30,7 +30,7 @@ struct sbi_cpu_idle_state {
|
|||||||
* @param states: array of idle state descriptions, ending with empty element
|
* @param states: array of idle state descriptions, ending with empty element
|
||||||
* @return zero on success and -ve on failure
|
* @return zero on success and -ve on failure
|
||||||
*/
|
*/
|
||||||
int fdt_add_cpu_idle_states(void *dtb, const struct sbi_cpu_idle_state *state);
|
int fdt_add_cpu_idle_states(void *fdt, const struct sbi_cpu_idle_state *state);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fix up the CPU node in the device tree
|
* Fix up the CPU node in the device tree
|
||||||
|
Reference in New Issue
Block a user