X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fflash%2Fnor%2Fstm32lx.c;h=27780103ee76013ac051356b4796661a7d2ad0b8;hb=refs%2Fchanges%2F03%2F4803%2F3;hp=814df8f6faacbe749fdef9da0b78b9f735ed6d9e;hpb=c3b90c052acfb7e35a0f4ce22276d53a96d631c7;p=openocd.git diff --git a/src/flash/nor/stm32lx.c b/src/flash/nor/stm32lx.c index 814df8f6fa..27780103ee 100644 --- a/src/flash/nor/stm32lx.c +++ b/src/flash/nor/stm32lx.c @@ -944,7 +944,7 @@ static const struct command_registration stm32lx_command_handlers[] = { COMMAND_REGISTRATION_DONE }; -struct flash_driver stm32lx_flash = { +const struct flash_driver stm32lx_flash = { .name = "stm32lx", .commands = stm32lx_command_handlers, .flash_bank_command = stm32lx_flash_bank_command,