diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2009-08-20 15:23:47 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-10-07 14:30:44 -0700 |
commit | 8531ae808ab504ba8501929f4355cbec55b424b4 (patch) | |
tree | 2808b0d159a66137bdf8ecb2dfcc103b4145abca | |
parent | a2822cac80be9e7fc83eaf9b7d17f169eabd4c99 (diff) |
TTY: fix typos
commit 1f5c13fad4ec5617b610e12205902c06298c096a upstream.
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>
-rw-r--r-- | drivers/char/tty_port.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/tty_port.c b/drivers/char/tty_port.c index 549bd0fa8bb..fa4ce674bdc 100644 --- a/drivers/char/tty_port.c +++ b/drivers/char/tty_port.c @@ -99,7 +99,7 @@ EXPORT_SYMBOL(tty_port_tty_set); static void tty_port_shutdown(struct tty_port *port) { if (port->ops->shutdown && - test_and_clear_bit(ASYNC_INITIALIZED, &port->flags)) + test_and_clear_bit(ASYNCB_INITIALIZED, &port->flags)) port->ops->shutdown(port); } @@ -309,7 +309,7 @@ int tty_port_close_start(struct tty_port *port, struct tty_struct *tty, struct f port->ops->drop(port); return 0; } - set_bit(ASYNC_CLOSING, &port->flags); + set_bit(ASYNCB_CLOSING, &port->flags); tty->closing = 1; spin_unlock_irqrestore(&port->lock, flags); /* Don't block on a stalled port, just pull the chain */ |