summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-03 16:04:43 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-03 16:04:43 +0000
commitf03570b67463f12fe7f1b46026d9045ea809b635 (patch)
tree189b8550a198d9a8d9544351c44af10882689ecf
parentd267cd36cc28168556c0299941e992bc8bfcbd64 (diff)
util/nvmutil: make op a const
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--util/nvmutil/nvmutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c
index de82faeb..6f83f9d1 100644
--- a/util/nvmutil/nvmutil.c
+++ b/util/nvmutil/nvmutil.c
@@ -82,7 +82,7 @@ typedef struct op {
void (*cmd)(void);
int args;
} op_t;
-static op_t op[] = {
+static const op_t op[] = {
{ "dump", cmd_dump, 3 },
{ "setmac", cmd_setmac, 3 },
{ "swap", cmd_swap, 3 },