Constify struct flash_driver instances
[fw/openocd] / src / flash / nor / w600.c
index 3d376161784e4579056ad7c2c9d264d2c55351ed..3a6f3ff83ffc9c8a11e064301d7edbc0fc93c757 100644 (file)
@@ -376,7 +376,7 @@ static int get_w600_info(struct flash_bank *bank, char *buf, int buf_size)
        return ERROR_OK;
 }
 
-struct flash_driver w600_flash = {
+const struct flash_driver w600_flash = {
        .name = "w600",
        .flash_bank_command = w600_flash_bank_command,
        .erase = w600_erase,