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:

committed by
Linus Torvalds

parent
b1ca7e7a0b
commit
a88487c79b
@@ -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);
|
||||
|
Reference in New Issue
Block a user