summaryrefslogtreecommitdiff
path: root/board/ml2/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/ml2/serial.c')
-rw-r--r--board/ml2/serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/ml2/serial.c b/board/ml2/serial.c
index dc9a8ea..92baba9 100644
--- a/board/ml2/serial.c
+++ b/board/ml2/serial.c
@@ -35,7 +35,7 @@
#if (defined CFG_INIT_CHAN1) || (defined CFG_INIT_CHAN2)
const NS16550_t COM_PORTS[] = { (NS16550_t) CFG_NS16550_COM1,
- (NS16550_t) CFG_NS16550_COM2 };
+ (NS16550_t) CFG_NS16550_COM2 };
#endif
int
@@ -59,7 +59,7 @@ void
serial_putc(const char c)
{
if (c == '\n')
- NS16550_putc(COM_PORTS[CFG_DUART_CHAN], '\r');
+ NS16550_putc(COM_PORTS[CFG_DUART_CHAN], '\r');
NS16550_putc(COM_PORTS[CFG_DUART_CHAN], c);
}