|
@@ -58,7 +58,7 @@ static const struct digi_t dgnc_digi_init = {
|
|
* This defines a raw port at 9600 baud, 8 data bits, no parity,
|
|
* This defines a raw port at 9600 baud, 8 data bits, no parity,
|
|
* 1 stop bit.
|
|
* 1 stop bit.
|
|
*/
|
|
*/
|
|
-static struct ktermios default_termios = {
|
|
|
|
|
|
+static const struct ktermios default_termios = {
|
|
.c_iflag = (DEFAULT_IFLAGS), /* iflags */
|
|
.c_iflag = (DEFAULT_IFLAGS), /* iflags */
|
|
.c_oflag = (DEFAULT_OFLAGS), /* oflags */
|
|
.c_oflag = (DEFAULT_OFLAGS), /* oflags */
|
|
.c_cflag = (DEFAULT_CFLAGS), /* cflags */
|
|
.c_cflag = (DEFAULT_CFLAGS), /* cflags */
|