diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2016-08-25 20:50:50 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-08-31 20:12:07 +0200 |
commit | 2e4d80687dd79890c7c9edad8dbaf6e89edf2afc (patch) | |
tree | 4120f7e399220dcbb8425d5c5ba4cc05a63534b8 /src/drivers/uart/uart8250mem.c | |
parent | d75b04f2b3baf75fdc52b06a319dddf0386f8e59 (diff) |
src/drivers: Add required space before opening parenthesis '('
Change-Id: I4d0087b2557862d04be54cf42f01b3223cb723ac
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/16321
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/drivers/uart/uart8250mem.c')
-rw-r--r-- | src/drivers/uart/uart8250mem.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/uart/uart8250mem.c b/src/drivers/uart/uart8250mem.c index cf58423b86..4e53a92a46 100644 --- a/src/drivers/uart/uart8250mem.c +++ b/src/drivers/uart/uart8250mem.c @@ -62,7 +62,7 @@ static int uart8250_mem_can_tx_byte(void *base) static void uart8250_mem_tx_byte(void *base, unsigned char data) { unsigned long int i = SINGLE_CHAR_TIMEOUT; - while(i-- && !uart8250_mem_can_tx_byte(base)) + while (i-- && !uart8250_mem_can_tx_byte(base)) udelay(1); uart8250_write(base, UART8250_TBR, data); } @@ -70,7 +70,7 @@ static void uart8250_mem_tx_byte(void *base, unsigned char data) static void uart8250_mem_tx_flush(void *base) { unsigned long int i = FIFO_TIMEOUT; - while(i-- && !(uart8250_read(base, UART8250_LSR) & UART8250_LSR_TEMT)) + while (i-- && !(uart8250_read(base, UART8250_LSR) & UART8250_LSR_TEMT)) udelay(1); } @@ -82,7 +82,7 @@ static int uart8250_mem_can_rx_byte(void *base) static unsigned char uart8250_mem_rx_byte(void *base) { unsigned long int i = SINGLE_CHAR_TIMEOUT; - while(i-- && !uart8250_mem_can_rx_byte(base)) + while (i-- && !uart8250_mem_can_rx_byte(base)) udelay(1); if (i) return uart8250_read(base, UART8250_RBR); |