Minor fixes, do not count interrupts without interrupt source as spurious (#1755)
[openwrt.git] / target / linux / adm5120-2.6 / files / drivers / serial / adm5120_uart.c
index cbbdbfb..ea1010c 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)
 
@@ -308,7 +308,7 @@ static void adm5120ser_shutdown(struct uart_port *port)
 }
 
 static void adm5120ser_set_termios(struct uart_port *port,
-    struct termios *termios, struct termios *old)
+    struct ktermios *termios, struct ktermios *old)
 {
        unsigned int baud, quot, lcrh;
        unsigned long flags;
This page took 0.0292519999999999 seconds and 4 git commands to generate.