mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-25 08:03:18 +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…
Add table
Add a link
Reference in a new issue