From: Gabor Juhos Date: Fri, 12 Nov 2010 18:50:47 +0000 (+0000) Subject: ar71xx: fix trailing statements location X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=eef802855a04348949af7fd748eab1ad5facb7a2;p=openwrt%2Fstaging%2Fjow.git ar71xx: fix trailing statements location Signed-off-by: Arnaud Lacombe SVN-Revision: 23976 --- diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/ar71xx.c b/target/linux/ar71xx/files/arch/mips/ar71xx/ar71xx.c index 5d05562de0..6c88985ccf 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/ar71xx.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/ar71xx.c @@ -157,10 +157,12 @@ EXPORT_SYMBOL_GPL(ar71xx_device_stopped); void ar71xx_ddr_flush(u32 reg) { ar71xx_ddr_wr(reg, 1); - while ((ar71xx_ddr_rr(reg) & 0x1)); + while ((ar71xx_ddr_rr(reg) & 0x1)) + ; ar71xx_ddr_wr(reg, 1); - while ((ar71xx_ddr_rr(reg) & 0x1)); + while ((ar71xx_ddr_rr(reg) & 0x1)) + ; } EXPORT_SYMBOL_GPL(ar71xx_ddr_flush); diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/early_printk.c b/target/linux/ar71xx/files/arch/mips/ar71xx/early_printk.c index 4661d970b0..76f69c562b 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/early_printk.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/early_printk.c @@ -23,8 +23,10 @@ void prom_putchar(unsigned char ch) { - while (((UART_READ(UART_LSR)) & UART_LSR_THRE) == 0); + while (((UART_READ(UART_LSR)) & UART_LSR_THRE) == 0) + ; UART_WRITE(UART_TX, ch); - while (((UART_READ(UART_LSR)) & UART_LSR_THRE) == 0); + while (((UART_READ(UART_LSR)) & UART_LSR_THRE) == 0) + ; }