include/device_tree.h: Fix function name fdt_node_name

Rename fdt_node_name to the actual function name and also rename the
references.

Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com>
Change-Id: I527146df26264a0c3af1ad01c21644d751b80236
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83084
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <ericllai@google.com>
This commit is contained in:
Maximilian Brune
2024-06-14 17:54:40 +02:00
committed by Felix Held
parent 4bdb089147
commit 9a12acf1e3
2 changed files with 6 additions and 8 deletions

View File

@@ -178,7 +178,7 @@ static int fdt_find_compat(const void *blob, uint32_t start_offset,
int offset = start_offset;
int size;
size = fdt_node_name(blob, offset, NULL);
size = fdt_next_node_name(blob, offset, NULL);
if (!size)
return -1;
offset += size;