summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/libchip/serial/serial.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/libchip/serial/serial.h b/c/src/libchip/serial/serial.h
index 85e191a778..5405697950 100644
--- a/c/src/libchip/serial/serial.h
+++ b/c/src/libchip/serial/serial.h
@@ -116,7 +116,7 @@ typedef enum {
*/
typedef struct _console_tbl {
/** This is the name of the device. */
- char *sDeviceName;
+ const char *sDeviceName;
/** This indicates the chip type. It is especially important when
* multiple devices share the same interrupt vector and must be
* distinguished.