X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fflash%2Fnor%2Fstr9x.c;fp=src%2Fflash%2Fnor%2Fstr9x.c;h=85cbe6a4fe4cbbd215bcf89b2130f5aab26a491e;hb=a7479fa89def9d8b1854d629dfdaa0ba17132617;hp=37700ce36d9bfb693fcfca15329cf8804dd091ab;hpb=84a2cab596a0621fab3424c72b43280ccdc240c2;p=fw%2Fopenocd diff --git a/src/flash/nor/str9x.c b/src/flash/nor/str9x.c index 37700ce36..85cbe6a4f 100644 --- a/src/flash/nor/str9x.c +++ b/src/flash/nor/str9x.c @@ -667,7 +667,7 @@ static const struct command_registration str9x_command_handlers[] = { COMMAND_REGISTRATION_DONE }; -struct flash_driver str9x_flash = { +const struct flash_driver str9x_flash = { .name = "str9x", .commands = str9x_command_handlers, .flash_bank_command = str9x_flash_bank_command,