X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fflash%2Fnor%2Fcc26xx.c;h=176211a0777d2fb453db3c05d2e5aaee967aa3c3;hp=0320e92c4fcba187e1a58a03b40dfd58e11c0a1e;hb=a7479fa89def9d8b1854d629dfdaa0ba17132617;hpb=84a2cab596a0621fab3424c72b43280ccdc240c2 diff --git a/src/flash/nor/cc26xx.c b/src/flash/nor/cc26xx.c index 0320e92c4f..176211a077 100644 --- a/src/flash/nor/cc26xx.c +++ b/src/flash/nor/cc26xx.c @@ -535,7 +535,7 @@ static int cc26xx_info(struct flash_bank *bank, char *buf, int buf_size) return ERROR_OK; } -struct flash_driver cc26xx_flash = { +const struct flash_driver cc26xx_flash = { .name = "cc26xx", .flash_bank_command = cc26xx_flash_bank_command, .erase = cc26xx_erase,