]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/command.h
Refactor linker-generated arrays
[people/ms/u-boot.git] / include / command.h
index 3785eb987f4863352d7de87fa3853725ad819b4d..65692fd2a69f59b911fc64301e82b3bd21b95b93 100644 (file)
@@ -175,7 +175,7 @@ int cmd_process(int flag, int argc, char * const argv[],
                                        _usage, _help, NULL)
 
 #define U_BOOT_CMD_COMPLETE(_name, _maxargs, _rep, _cmd, _usage, _help, _comp) \
-       ll_entry_declare(cmd_tbl_t, _name, cmd, cmd) =                  \
+       ll_entry_declare(cmd_tbl_t, _name, cmd) =                       \
                U_BOOT_CMD_MKENT_COMPLETE(_name, _maxargs, _rep, _cmd,  \
                                                _usage, _help, _comp);