Restore the gpio.h file, platform.c uses the generic GPIO API
[openwrt/staging/chunkeey.git] / target / linux / ar7-2.6 / files / arch / mips / ar7 / platform.c
index ea170edc6af4f0ac327d78b527145655d1736b5b..cbd61f44aa44a5f290d87e47e1e8dd0012015e81 100644 (file)
@@ -31,7 +31,7 @@
 #include <asm/addrspace.h>
 #include <asm/io.h>
 #include <asm/ar7/ar7.h>
-#include <asm/ar7/gpio.h>
+#include <asm/gpio.h>
 #include <asm/ar7/vlynq.h>
 
 struct plat_vlynq_data {
@@ -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;