From 2e4d80687dd79890c7c9edad8dbaf6e89edf2afc Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Thu, 25 Aug 2016 20:50:50 +0200 Subject: src/drivers: Add required space before opening parenthesis '(' Change-Id: I4d0087b2557862d04be54cf42f01b3223cb723ac Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/16321 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/drivers/uart/uart8250mem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/drivers/uart/uart8250mem.c') 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); -- cgit v1.2.3