aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini2024-04-27 08:10:49 -0600
committerTom Rini2024-05-06 15:05:03 -0600
commitbd22849d0b2178af75e305d2eb516eee1499eb00 (patch)
tree36cc58587246439f7e2568f07eadc5d65337ef4b /include
parent52835266d3e933656a217233eaf672dd9ccd7352 (diff)
init.h: Add "struct cmd_tbl"
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>
Diffstat (limited to 'include')
-rw-r--r--include/init.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/init.h b/include/init.h
index 630d86729c4..2c10171359c 100644
--- 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__ */