X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fflash%2Fnor%2Fswm050.c;h=dcf59d380ee1baf2ab954f25b87cbf8aa9d975d2;hb=20005eb81abaa3d191d6cdf36fd6f3d4e48a1db7;hp=89e59ae475664a6da04e0bcd6c3872b46b27c4ea;hpb=382148e4dd437978997d668f6ec715ddcec1c46e;p=openocd.git diff --git a/src/flash/nor/swm050.c b/src/flash/nor/swm050.c index 89e59ae475..dcf59d380e 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,