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:
Samuel Holland
2024-07-30 21:58:42 -07:00
committed by Anup Patel
parent 56183ca609
commit bcb81f0cbe

View File

@@ -30,7 +30,7 @@ struct sbi_cpu_idle_state {
* @param states: array of idle state descriptions, ending with empty element
* @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