warnings: use more 'const' for char *
[fw/openocd] / src / flash / nor / core.h
index ff14df0a3184852058c7f91a5525ee48a50bdc41..8f7dce882d267b07afef52d7a788bf90eff73550 100644 (file)
@@ -74,7 +74,7 @@ struct flash_sector
  */
 struct flash_bank
 {
-       char *name;
+       const char *name;
 
        struct target *target; /**< Target to which this bank belongs. */