update ar7 to 2.6.22.1 (thanks to Matteo Croce for his great help)
[openwrt.git] / target / linux / ar7-2.6 / files / arch / mips / ar7 / platform.c
index ea170ed..b9f7d0e 100644 (file)
@@ -32,6 +32,7 @@
 #include <asm/io.h>
 #include <asm/ar7/ar7.h>
 #include <asm/ar7/gpio.h>
+#include <asm/ar7/prom.h>
 #include <asm/ar7/vlynq.h>
 
 struct plat_vlynq_data {
@@ -321,7 +322,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 +334,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;
This page took 0.018903 seconds and 4 git commands to generate.