summaryrefslogtreecommitdiffstats
path: root/drivers/serial/sn_console.c
diff options
context:
space:
mode:
authorJack Steiner <steiner@sgi.com>2008-07-16 22:54:31 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-21 02:12:36 +0200
commitb1ca7e7a0b35874b2a9cae60f8f5b78df575faa7 (patch)
tree74daf686e26a73f8fdfb4972db5b172d95dfab42 /drivers/serial/sn_console.c
parentttydev: fix pamc_zilog for tty pointer move (diff)
downloadlinux-b1ca7e7a0b35874b2a9cae60f8f5b78df575faa7.tar.xz
linux-b1ca7e7a0b35874b2a9cae60f8f5b78df575faa7.zip
- Fix compile errors in SGI console drivers (linux-next tree)
Fix compile errors in SGI console drivers caused by changes to the tty_port structures in the linux-next tree. Signed-off-by: Jack Steiner <steiner@sgi.com> Acked-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/serial/sn_console.c')
-rw-r--r--drivers/serial/sn_console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/sn_console.c b/drivers/serial/sn_console.c
index 019da2e05f0b..b73e3c0056cd 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. */