[rtems commit] powerpc/mpc5xx/console-generic/console-generic.c: Use updated struct termios format
Joel Sherrill
joel at rtems.org
Mon Apr 24 22:21:55 UTC 2017
Module: rtems
Branch: master
Commit: 2808c26266ca3a631e3a2d0d8ca39cf8ec79b589
Changeset: http://git.rtems.org/rtems/commit/?id=2808c26266ca3a631e3a2d0d8ca39cf8ec79b589
Author: Joel Sherrill <joel at rtems.org>
Date: Mon Apr 24 11:17:12 2017 -0500
powerpc/mpc5xx/console-generic/console-generic.c: Use updated struct termios format
---
c/src/lib/libcpu/powerpc/mpc5xx/console-generic/console-generic.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/c/src/lib/libcpu/powerpc/mpc5xx/console-generic/console-generic.c b/c/src/lib/libcpu/powerpc/mpc5xx/console-generic/console-generic.c
index c1de9c5..7e1629b 100644
--- a/c/src/lib/libcpu/powerpc/mpc5xx/console-generic/console-generic.c
+++ b/c/src/lib/libcpu/powerpc/mpc5xx/console-generic/console-generic.c
@@ -76,10 +76,10 @@ int init_calls = 0;
static struct termios default_termios = {
0, /* input mode flags */
0, /* output mode flags */
- CS8 | CREAD | CLOCAL | B9600, /* control mode flags */
0, /* local mode flags */
0, /* line discipline */
- { 0 } /* control characters */
+ { 0 }, /* control characters */
+ CS8 | CREAD | CLOCAL | B9600, /* control mode flags */
};
More information about the vc
mailing list