aboutsummaryrefslogtreecommitdiff
path: root/src/flash/nor/swm050.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/nor/swm050.c')
-rw-r--r--src/flash/nor/swm050.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/swm050.c b/src/flash/nor/swm050.c
index 89e59ae..dcf59d3 100644
--- a/src/flash/nor/swm050.c
+++ b/src/flash/nor/swm050.c
@@ -183,7 +183,7 @@ static const struct command_registration swm050_command_handlers[] = {
COMMAND_REGISTRATION_DONE
};
-struct flash_driver swm050_flash = {
+const struct flash_driver swm050_flash = {
.name = "swm050",
.commands = swm050_command_handlers,
.flash_bank_command = swm050_flash_bank_command,