diff mbox series

[01/18] init.h: Add "struct cmd_tbl"

Message ID 20240427141106.3406000-2-trini@konsulko.com
State Accepted
Commit bd22849d0b2178af75e305d2eb516eee1499eb00
Delegated to: Tom Rini
Headers show
Series Remove <common.h> from a number of places | expand

Commit Message

Tom Rini April 27, 2024, 2:10 p.m. UTC
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 mbox series

Patch

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