X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fserial%2Fsn_console.c;h=b73e3c0056cd77531248a89dc2925809e61faae6;hb=7a76d89232f20411f32e7a79ccc1e2f95e9f826b;hp=019da2e05f0b4825d41ada3cf6e6badc609b8885;hpb=71cc2c2152170b8166f59abb0604dc62073aeb92;p=linux-2.6 diff --git a/drivers/serial/sn_console.c b/drivers/serial/sn_console.c index 019da2e05f..b73e3c0056 100644 --- a/drivers/serial/sn_console.c +++ b/drivers/serial/sn_console.c @@ -471,7 +471,7 @@ sn_receive_chars(struct sn_cons_port *port, unsigned long flags) if (port->sc_port.info) { /* The serial_core stuffs are initilized, use them */ - tty = port->sc_port.info->tty; + tty = port->sc_port.info->port.tty; } else { /* Not registered yet - can't pass to tty layer. */