
27 Apr
2024
27 Apr
'24
4:10 p.m.
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 | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/init.h b/include/init.h index 630d86729c4e..2c10171359cf 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__ */
--
2.34.1