aboutsummaryrefslogtreecommitdiff
path: root/common/fdt_simplefb.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt2023-04-03 20:46:50 +0200
committerSimon Glass2023-04-28 11:30:17 -0600
commitb52d6de20768ddba6b9e75d198179eca6ec66300 (patch)
tree0e982d294147e2845b9ee0c0bef2d00dc02865fb /common/fdt_simplefb.c
parent327883c3c93692cca32d20a7f59b07f5c3d0c5c8 (diff)
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 <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/fdt_simplefb.c')
-rw-r--r--common/fdt_simplefb.c8
1 files changed, 7 insertions, 1 deletions
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;