]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
TTY: fix typos
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 20 Aug 2009 19:23:47 +0000 (15:23 -0400)
committerLive-CD User <linux@linux.site>
Sat, 19 Sep 2009 20:13:36 +0000 (13:13 -0700)
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>
drivers/char/tty_port.c

index c767e30a1425ac20965a8cd74323ca2d1a6a47dd..a4bbb28f10be4473a0550e51466b14ee81a35b67 100644 (file)
@@ -100,7 +100,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);
 
 }
@@ -311,7 +311,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 */