]> git.baikalelectronics.ru Git - kernel.git/commit
crisv10: use flags from tty_port
authorJiri Slaby <jslaby@suse.cz>
Thu, 7 Mar 2013 12:12:36 +0000 (13:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Mar 2013 23:25:29 +0000 (16:25 -0700)
commit1bbd0379ac16737e55eb5513bb0420f9d32dbc8f
treefac50218bf51b62a993850d41dd37cbae476a9f2
parentdb21aa4ace684cc6f138cd629d4009488a0ad398
crisv10: use flags from tty_port

First, remove STD_FLAGS as the value, or its subvalues
(ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST) is not tested anywhere --
there is no point to initialize flags to that. Second, use flags
member from tty_port when we have it now. So that we do not waste
space.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/crisv10.c
drivers/tty/serial/crisv10.h