]> err.no Git - linux-2.6/blobdiff - drivers/serial/sc26xx.c
ALSA: wm8750: add missing VREF output
[linux-2.6] / drivers / serial / sc26xx.c
index a350b6d2a181e117e2eac51a9f9fcae0a56b4134..e0be11ceaa251ccfc6da0eb8b33019f4068da20f 100644 (file)
@@ -141,7 +141,7 @@ static struct tty_struct *receive_chars(struct uart_port *port)
        u8 status;
 
        if (port->info != NULL)         /* Unopened serial console */
-               tty = port->info->tty;
+               tty = port->info->port.tty;
 
        while (limit-- > 0) {
                status = READ_SC_PORT(port, SR);
@@ -732,6 +732,7 @@ static struct platform_driver sc26xx_driver = {
        .remove = __devexit_p(sc26xx_driver_remove),
        .driver = {
                .name   = "SC26xx",
+               .owner  = THIS_MODULE,
        },
 };
 
@@ -753,3 +754,4 @@ MODULE_AUTHOR("Thomas Bogendörfer");
 MODULE_DESCRIPTION("SC681/SC2692 serial driver");
 MODULE_VERSION("1.0");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:SC26xx");