Fix the baudrate macro
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 19 Mar 2007 19:51:26 +0000 (19:51 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 19 Mar 2007 19:51:26 +0000 (19:51 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6616 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/adm5120-2.6/files/drivers/serial/adm5120_uart.c

index cbbdbfb..6b42928 100644 (file)
@@ -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)
 
This page took 0.024906 seconds and 4 git commands to generate.