summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2025-03-05 17:24:55 -0700
committerTom Rini <trini@konsulko.com>2025-03-18 13:12:15 -0600
commit299d24eddfeb18a7576187b3010d5462317335e9 (patch)
treee8acebf25992260ba2416a5df989b81900aa46a9
parent942c8c8e669739d2e8dec67a7ed90158defc93ed (diff)
x86: Make do_zboot_states() static
This function is only called within zboot.c so make the function private. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--cmd/x86/zboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/x86/zboot.c b/cmd/x86/zboot.c
index 94e602b8a5b..3035172352a 100644
--- a/cmd/x86/zboot.c
+++ b/cmd/x86/zboot.c
@@ -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;