git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
942c8c8
)
x86: Make do_zboot_states() static
author
Simon Glass
<sjg@chromium.org>
Thu, 6 Mar 2025 00:24:55 +0000
(17:24 -0700)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/cmd/x86/zboot.c
b/cmd/x86/zboot.c
index
94e602b
..
3035172
100644
(file)
--- 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;