diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-03-19 19:51:26 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-03-19 19:51:26 +0000 |
commit | a57b6f1f05a49a7a4766fd0ea44bf07632aef364 (patch) | |
tree | 8be3ceabd53f84e5dbb0571e07ed59391548983d /target/linux | |
parent | 9f8f5d7ce47ab2c3316c60feaadcae2507c56632 (diff) |
Fix the baudrate macro
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6616 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/adm5120-2.6/files/drivers/serial/adm5120_uart.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 cbbdbfb6a..6b4292867 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) |