[rtems commit] libchip/serial: Add const qualifier
Sebastian Huber
sebh at rtems.org
Mon Jul 1 16:50:21 UTC 2013
Module: rtems
Branch: master
Commit: e310dcddd036657c7c7544d563427bc0b17dea62
Changeset: http://git.rtems.org/rtems/commit/?id=e310dcddd036657c7c7544d563427bc0b17dea62
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Jun 28 21:26:11 2013 +0200
libchip/serial: Add const qualifier
---
c/src/libchip/serial/serial.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/c/src/libchip/serial/serial.h b/c/src/libchip/serial/serial.h
index 85e191a..5405697 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.
More information about the vc
mailing list