warnings: use more 'const' for char *
[fw/openocd] / src / flash / nor / driver.h
index cbf9c5282a2ce61bb2fc97950ba7c4a3c2d09e77..afd05285a2766fcd9f3e586a1d7338a8740b0fc5 100644 (file)
@@ -54,7 +54,7 @@ struct flash_driver
         * Gives a human-readable name of this flash driver,
         * This field is used to select and initialize the driver.
         */
-       char *name;
+       const char *name;
 
        /**
         * An array of driver-specific commands to register.  When called