ar7 misc fixes:
[openwrt/svn-archive/archive.git] / target / linux / ar7-2.6 / files / arch / mips / ar7 / platform.c
index ea170edc6af4f0ac327d78b527145655d1736b5b..c61e20a6c156dbea43e20b5e4de683cd7e2a42dd 100644 (file)
@@ -321,7 +321,7 @@ static int __init ar7_register_devices(void)
 
        memset(uart_port, 0, sizeof(struct uart_port) * 2);
 
-       uart_port[0].type = PORT_16750;
+       uart_port[0].type = PORT_AR7;
        uart_port[0].line = 0;
        uart_port[0].irq = AR7_IRQ_UART0;
        uart_port[0].uartclk = ar7_bus_freq() / 2;
@@ -333,7 +333,7 @@ static int __init ar7_register_devices(void)
        if (res)
                return res;
 
-       uart_port[1].type = PORT_16750;
+       uart_port[1].type = PORT_AR7;
        uart_port[1].line = 1;
        uart_port[1].irq = AR7_IRQ_UART1;
        uart_port[1].uartclk = ar7_bus_freq() / 2;