summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-04-03 21:46:50 +0300
committerSimon Glass <sjg@chromium.org>2023-04-28 20:30:17 +0300
commitb52d6de20768ddba6b9e75d198179eca6ec66300 (patch)
tree0e982d294147e2845b9ee0c0bef2d00dc02865fb /common
parent327883c3c93692cca32d20a7f59b07f5c3d0c5c8 (diff)
downloadu-boot-b52d6de20768ddba6b9e75d198179eca6ec66300.tar.xz
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')
-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 282c34fe0b..069ced75a7 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;