Fix compile errors in SGI console drivers (linux-next tree)

The below is the patch to replace blindly all possible places,
including Jack's fixes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
(Reviewed and checked rather than blindly added)
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Takashi Iwai
2008-07-16 21:54:42 +01:00
committed by Linus Torvalds
parent b1ca7e7a0b
commit a88487c79b
33 changed files with 151 additions and 147 deletions

View 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);