libfdt: Fix a typo in libfdt.h

The function mentioned in the comment, fdt_finished(), should be
changed to fdt_finish().

Signed-off-by: Yan-Jie Wang <yanjiewtw@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
Yan-Jie Wang 2023-06-08 14:39:05 +08:00 committed by David Gibson
parent 71a8b8ef0a
commit ccf1f62d59

View file

@ -1511,7 +1511,7 @@ int fdt_nop_node(void *fdt, int nodeoffset);
* fdt_create_with_flags() begins the process of creating a new fdt with
* the sequential write interface.
*
* fdt creation process must end with fdt_finished() to produce a valid fdt.
* fdt creation process must end with fdt_finish() to produce a valid fdt.
*
* returns:
* 0, on success