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

@@ -257,8 +257,8 @@ static struct tty_struct *ip22zilog_receive_chars(struct uart_ip22zilog_port *up
tty = NULL;
if (up->port.info != NULL &&
up->port.info->tty != NULL)
tty = up->port.info->tty;
up->port.info->port.tty != NULL)
tty = up->port.info->port.tty;
for (;;) {
ch = readb(&channel->control);