diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-03-19 19:51:26 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-03-19 19:51:26 +0000 |
commit | 1be7df6f975d55837d3c0582608f041abbb87a5c (patch) | |
tree | 586b24f7d3af8f9f9ccd8983374a3e9876e5b47a /target/linux/adm5120-2.6/files/drivers/serial | |
parent | 9c4b23a8d130b82fbe8669d0c4a005622b9d612c (diff) | |
download | mtk-20170518-1be7df6f975d55837d3c0582608f041abbb87a5c.zip mtk-20170518-1be7df6f975d55837d3c0582608f041abbb87a5c.tar.gz mtk-20170518-1be7df6f975d55837d3c0582608f041abbb87a5c.tar.bz2 |
Fix the baudrate macro
SVN-Revision: 6616
Diffstat (limited to 'target/linux/adm5120-2.6/files/drivers/serial')
-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 cbbdbfb..6b42928 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) |