From: Tom Rini <trini@konsulko.com>
Date: Sat, 27 Apr 2024 14:10:49 +0000 (-0600)
Subject: init.h: Add "struct cmd_tbl"
X-Git-Tag: v2025.01-rc5-pxa1908~466^2~130
X-Git-Url: http://git.dujemihanovic.xyz/img/static/html/%7B%7B?a=commitdiff_plain;h=bd22849d0b2178af75e305d2eb516eee1499eb00;p=u-boot.git

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>
---

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__ */