diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-10-01 10:15:38 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2007-10-01 10:15:38 +0200 |
commit | 1e3465553be1cb7cb982b69658b70fe6e68e9fbd (patch) | |
tree | 1ced9ac47790b1752bdae75d34693ad01be2e19c /include | |
parent | c41b41f9e778e48f3afe7956870c7c7f1e10d006 (diff) | |
download | barebox-1e3465553be1cb7cb982b69658b70fe6e68e9fbd.tar.gz barebox-1e3465553be1cb7cb982b69658b70fe6e68e9fbd.tar.xz |
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"
Diffstat (limited to 'include')
-rw-r--r-- | include/command.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |