]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/serial/v850e_uart.c
[SERIAL] sunhv: Convert to of_driver layer.
[linux-2.6-omap-h63xx.git] / drivers / serial / v850e_uart.c
index 9378895a8d56e9506a8e3569173087138089b832..a0da2aaf71c4436d60de6d7086b5b21b682527bd 100644 (file)
@@ -468,7 +468,6 @@ static struct uart_ops v850e_uart_ops = {
 static struct uart_driver v850e_uart_driver = {
        .owner                  = THIS_MODULE,
        .driver_name            = "v850e_uart",
-       .devfs_name             = "tts/",
        .dev_name               = "ttyS",
        .major                  = TTY_MAJOR,
        .minor                  = V850E_UART_MINOR_BASE,
@@ -496,7 +495,7 @@ static int __init v850e_uart_init (void)
 
                        port->ops = &v850e_uart_ops;
                        port->line = chan;
-                       port->iotype = SERIAL_IO_MEM;
+                       port->iotype = UPIO_MEM;
                        port->flags = UPF_BOOT_AUTOCONF;
 
                        /* We actually use multiple IRQs, but the serial