diff options
| author | Samuel Holland <samuel.holland@sifive.com> | 2024-07-30 21:58:42 -0700 |
|---|---|---|
| committer | Anup Patel <anup@brainfault.org> | 2024-08-24 13:02:21 +0530 |
| commit | bcb81f0cbe55fee86bd1d123d5fefc4848af4f8e (patch) | |
| tree | e85cdbadc76f5c05d319f9b80056ebeac96deceb /include | |
| parent | 56183ca609aa72a075d96d23eebe3df7fbaf53cd (diff) | |
| download | opensbi-bcb81f0cbe55fee86bd1d123d5fefc4848af4f8e.zip opensbi-bcb81f0cbe55fee86bd1d123d5fefc4848af4f8e.tar.gz opensbi-bcb81f0cbe55fee86bd1d123d5fefc4848af4f8e.tar.bz2 | |
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: 33bf9174602c ("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>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sbi_utils/fdt/fdt_fixup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sbi_utils/fdt/fdt_fixup.h b/include/sbi_utils/fdt/fdt_fixup.h index ecd55a7..21a5301 100644 --- a/include/sbi_utils/fdt/fdt_fixup.h +++ b/include/sbi_utils/fdt/fdt_fixup.h @@ -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 |
