mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-09-21 15:12:04 +00:00
sf: Use const for the stage name
This is not updated at runtime so should be marked const. Update the code accordingly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
6b03448713
commit
ad4e010054
1 changed files with 1 additions and 1 deletions
2
cmd/sf.c
2
cmd/sf.c
|
@ -394,7 +394,7 @@ enum {
|
|||
STAGE_COUNT,
|
||||
};
|
||||
|
||||
static char *stage_name[STAGE_COUNT] = {
|
||||
static const char *stage_name[STAGE_COUNT] = {
|
||||
"erase",
|
||||
"check",
|
||||
"write",
|
||||
|
|
Loading…
Reference in a new issue