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:
5283526
)
init.h: Add "struct cmd_tbl"
author
Tom Rini
<trini@konsulko.com>
Sat, 27 Apr 2024 14:10:49 +0000
(08:10 -0600)
committer
Tom Rini
<trini@konsulko.com>
Mon, 6 May 2024 21:05:03 +0000
(15:05 -0600)
In order to avoid needing to add <command.h> to this file, add "struct
cmd_tbl" before the prototype for do_bdinfo().
Signed-off-by: Tom Rini <trini@konsulko.com>
include/init.h
patch
|
blob
|
history
diff --git
a/include/init.h
b/include/init.h
index
630d867
..
2c10171
100644
(file)
--- a/
include/init.h
+++ b/
include/init.h
@@
-401,6
+401,8
@@
void bdinfo_print_size(const char *name, uint64_t size);
/* Show arch-specific information for the 'bd' command */
void arch_print_bdinfo(void);
+struct cmd_tbl;
+
int do_bdinfo(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
#endif /* __ASSEMBLY__ */