aboutsummaryrefslogtreecommitdiff
path: root/src/flash/nor/xcf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/nor/xcf.c')
-rw-r--r--src/flash/nor/xcf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/xcf.c b/src/flash/nor/xcf.c
index bc4b1be5..a0c35c5e 100644
--- a/src/flash/nor/xcf.c
+++ b/src/flash/nor/xcf.c
@@ -881,7 +881,7 @@ static const struct command_registration xcf_command_handlers[] = {
COMMAND_REGISTRATION_DONE
};
-struct flash_driver xcf_flash = {
+const struct flash_driver xcf_flash = {
.name = "xcf",
.usage = NULL,
.commands = xcf_command_handlers,