From 1e3465553be1cb7cb982b69658b70fe6e68e9fbd Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 1 Oct 2007 10:15:38 +0200 Subject: Add register_command() to register a command in runtime. This is only needed when modules are enabled, so the change is inside "#ifdef CONFIG_MODULE" --- include/command.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/command.h') diff --git a/include/command.h b/include/command.h index 7a3cb398b3..b1e5f4caf2 100644 --- a/include/command.h +++ b/include/command.h @@ -110,4 +110,6 @@ const cmd_tbl_t __u_boot_cmd_##_name \ #define U_BOOT_CMD_HELP(text) #endif +int register_command(cmd_tbl_t *); + #endif /* __COMMAND_H */ -- cgit v1.2.3