From 1be7df6f975d55837d3c0582608f041abbb87a5c Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Mon, 19 Mar 2007 19:51:26 +0000 Subject: [PATCH] Fix the baudrate macro SVN-Revision: 6616 --- target/linux/adm5120-2.6/files/drivers/serial/adm5120_uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/adm5120-2.6/files/drivers/serial/adm5120_uart.c b/target/linux/adm5120-2.6/files/drivers/serial/adm5120_uart.c index cbbdbfb6ab..6b42928679 100644 --- a/target/linux/adm5120-2.6/files/drivers/serial/adm5120_uart.c +++ b/target/linux/adm5120-2.6/files/drivers/serial/adm5120_uart.c @@ -35,7 +35,7 @@ (*(volatile u32 *)KSEG1ADDR((base)+(reg))) #define ADM5120_UARTCLK_FREQ 62500000 -#define ADM5120_UART_BAUDDIV(rate) ((unsigned long)(ADM5120_UARTCLK_FREQ/(16*(_rate)) - 1)) +#define ADM5120_UART_BAUDDIV(rate) ((unsigned long)(ADM5120_UARTCLK_FREQ/(16*(rate)) - 1)) #define ADM5120_UART_BAUD115200 ADM5120_UART_BAUDDIV(115200) -- 2.30.2