x86: Make do_zboot_states() static
authorSimon Glass <sjg@chromium.org>
Thu, 6 Mar 2025 00:24:55 +0000 (17:24 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 18 Mar 2025 19:12:15 +0000 (13:12 -0600)
This function is only called within zboot.c so make the function
private.

Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/x86/zboot.c

index 94e602b..3035172 100644 (file)
@@ -119,8 +119,8 @@ U_BOOT_SUBCMDS(zboot,
        U_BOOT_CMD_MKENT(dump, 2, 1, do_zboot_dump, "", ""),
 )
 
-int do_zboot_states(struct cmd_tbl *cmdtp, int flag, int argc,
-                   char *const argv[], int state_mask)
+static int do_zboot_states(struct cmd_tbl *cmdtp, int flag, int argc,
+                          char *const argv[], int state_mask)
 {
        int ret = 0;