diff options
author | Simon Glass | 2021-09-19 15:49:32 -0600 |
---|---|---|
committer | Simon Glass | 2021-11-28 16:51:51 -0700 |
commit | 6b03448713c20dd71ab6cc8e2c1c326db0148169 (patch) | |
tree | 4c260e7ce1f80944bc416059c070097825447c27 /configs/ls1043aqds_defconfig | |
parent | 7acb322568317197d0ea9f1fb6fcf5975b9d8500 (diff) |
command: Use a constant pointer for the help
This text should never change during execution, so it makes sense to
use a const char * so that it can be declared as const in the code.
Update struct cmd_tbl with a const char * pointer for 'help'.
We cannot make usage const because of the bmode command, used on mx53ppd
for example.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'configs/ls1043aqds_defconfig')
0 files changed, 0 insertions, 0 deletions