From bd22849d0b2178af75e305d2eb516eee1499eb00 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Sat, 27 Apr 2024 08:10:49 -0600 Subject: [PATCH] init.h: Add "struct cmd_tbl" In order to avoid needing to add to this file, add "struct cmd_tbl" before the prototype for do_bdinfo(). Signed-off-by: Tom Rini --- include/init.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/init.h b/include/init.h index 630d86729c..2c10171359 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.39.5