diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2009-04-20 15:56:30 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2009-04-20 15:56:30 -0700 |
commit | 31937531087fb47aa4a3a218e8114b32176f8683 (patch) | |
tree | 45717a07f96c3053df052e084c06db151f1def84 /com32/gdbstub/serial.c | |
parent | f0e7d4b1ffdd5f636632ac4dd88671410f6dd575 (diff) | |
download | syslinux.git-31937531087fb47aa4a3a218e8114b32176f8683.tar.gz syslinux.git-31937531087fb47aa4a3a218e8114b32176f8683.tar.xz syslinux.git-31937531087fb47aa4a3a218e8114b32176f8683.zip |
Global whitespace cleanup.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'com32/gdbstub/serial.c')
-rw-r--r-- | com32/gdbstub/serial.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/gdbstub/serial.c b/com32/gdbstub/serial.c index 1c4d4b6f..2b9fc2ef 100644 --- a/com32/gdbstub/serial.c +++ b/com32/gdbstub/serial.c @@ -91,7 +91,7 @@ void serial_putc ( int ch ) { int status; for (;;) { status = uart_readb(UART_BASE + UART_LSR); - if (status & UART_LSR_THRE) { + if (status & UART_LSR_THRE) { /* TX buffer emtpy */ uart_writeb(ch, UART_BASE + UART_TBR); break; @@ -165,7 +165,7 @@ void serial_init ( void ) { goto out; } uart_writeb(lcs, UART_BASE + UART_LCR); - + /* disable interrupts */ uart_writeb(0x0, UART_BASE + UART_IER); |