Commit 1f5c13fad4ec5617b610e12205902c06298c096a

Authored by Alan Stern
Committed by Live-CD User
1 parent 797938b5e3

TTY: fix typos

This patch (as1282) fixes some obvious typos in the TTY core.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

drivers/char/tty_port.c
... ... @@ -100,7 +100,7 @@
100 100 static void tty_port_shutdown(struct tty_port *port)
101 101 {
102 102 if (port->ops->shutdown &&
103   - test_and_clear_bit(ASYNC_INITIALIZED, &port->flags))
  103 + test_and_clear_bit(ASYNCB_INITIALIZED, &port->flags))
104 104 port->ops->shutdown(port);
105 105  
106 106 }
... ... @@ -311,7 +311,7 @@
311 311 port->ops->drop(port);
312 312 return 0;
313 313 }
314   - set_bit(ASYNC_CLOSING, &port->flags);
  314 + set_bit(ASYNCB_CLOSING, &port->flags);
315 315 tty->closing = 1;
316 316 spin_unlock_irqrestore(&port->lock, flags);
317 317 /* Don't block on a stalled port, just pull the chain */