diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-07-02 15:23:01 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-07-03 17:45:56 +1000 |
commit | 6ca16c8720ffaac134a8fb6bc4e8f1814a72b79c (patch) | |
tree | e59b3ec9ce5bb4c79190725c84205695df5dc24c | |
parent | 3235ac31630a8922d99f45fc99574f7c67d6781f (diff) |
ttydev: sparc32 fix for tty move
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-rw-r--r-- | drivers/serial/sunzilog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/sunzilog.c b/drivers/serial/sunzilog.c index 7e9fa5ef0eb7..ea385ba631b4 100644 --- a/drivers/serial/sunzilog.c +++ b/drivers/serial/sunzilog.c @@ -329,8 +329,8 @@ sunzilog_receive_chars(struct uart_sunzilog_port *up, tty = NULL; if (up->port.info != NULL && /* Unopened serial console */ - up->port.info->tty != NULL) /* Keyboard || mouse */ - tty = up->port.info->tty; + up->port.info->port.tty != NULL) /* Keyboard || mouse */ + tty = up->port.info->port.tty; for (;;) { |