Upgrade rb532 to .23, provide generic GPIO API to this board
[openwrt/openwrt.git] / target / linux / rb532 / files / arch / mips / rb500 / serial.c
index 49c5252feb1b012d872e9dd200e832bcf0a01eb7..25a03e01089ac62586dfd4f67e96ec870b9e2824 100644 (file)
@@ -45,6 +45,7 @@
 #include <linux/tty.h>
 #include <linux/serial.h>
 #include <linux/serial_core.h>
+#include <linux/serial_8250.h>
 
 #include <asm/time.h>
 #include <asm/cpu.h>
@@ -59,7 +60,7 @@ static struct uart_port serial_req = {
        .type = PORT_16550A,
        .line = 0,
        .irq = RC32434_UART0_IRQ,
-       .flags = STD_COM_FLAGS,
+       //.flags = STD_COM_FLAGS,
        .iotype = UPIO_MEM,
        .membase = (char *) KSEG1ADDR(RC32434_UART0_BASE),
 //     .fifosize = 14