jtag: constify driver arrays
[fw/openocd] / src / jtag / aice / aice_port.h
index 241f8b805884169b523cd08c7930f39c2a10be7e..d29e9e14287282088bab302324f9ecc3651f0543 100644 (file)
@@ -106,9 +106,9 @@ enum aice_command_mode {
 
 struct aice_port_param_s {
        /** */
-       char *device_desc;
+       const char *device_desc;
        /** */
-       char *serial;
+       const char *serial;
        /** */
        uint16_t vid;
        /** */
@@ -225,7 +225,7 @@ struct aice_port_api_s {
 /** */
 struct aice_port {
        /** */
-       char *name;
+       const char *name;
        /** */
        int type;
        /** */