From b52d6de20768ddba6b9e75d198179eca6ec66300 Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Mon, 3 Apr 2023 20:46:50 +0200 Subject: common: static fdt_simplefb_enable_existing_node() Function fdt_simplefb_enable_existing_node() should be static as it is not used outside common/fdt_simplefb.c. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- common/fdt_simplefb.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'common') diff --git a/common/fdt_simplefb.c b/common/fdt_simplefb.c index 282c34fe0b9..069ced75a7f 100644 --- a/common/fdt_simplefb.c +++ b/common/fdt_simplefb.c @@ -71,7 +71,13 @@ int fdt_simplefb_add_node(void *blob) return fdt_simplefb_configure_node(blob, off); } -int fdt_simplefb_enable_existing_node(void *blob) +/** + * fdt_simplefb_enable_existing_node() - enable simple-framebuffer DT node + * + * @blob: device-tree + * Return: 0 on success, non-zero otherwise + */ +static int fdt_simplefb_enable_existing_node(void *blob) { int off; -- cgit v1.3.1 From ded112f24ca4078fa09dae181108f233657ec5fc Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Mon, 24 Apr 2023 16:51:50 -0400 Subject: fdt_support: fix comments syntax error Fix comments syntax error in fdt_node_offset_by_compat_reg() description: compatiable -> compatible Signed-off-by: Hugo Villeneuve Reviewed-by: Simon Glass --- common/fdt_support.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common') diff --git a/common/fdt_support.c b/common/fdt_support.c index dbceec6f2dc..2053fe3bad8 100644 --- a/common/fdt_support.c +++ b/common/fdt_support.c @@ -1486,11 +1486,11 @@ out: } /** - * fdt_node_offset_by_compat_reg: Find a node that matches compatiable and + * fdt_node_offset_by_compat_reg: Find a node that matches compatible and * who's reg property matches a physical cpu address * * @blob: ptr to device tree - * @compat: compatiable string to match + * @compat: compatible string to match * @compat_off: property name * */ -- cgit v1.3.1