]> git.baikalelectronics.ru Git - kernel.git/commit
TTY: simserial/amiserial, use one instance of other members
authorJiri Slaby <jslaby@suse.cz>
Mon, 5 Mar 2012 13:52:16 +0000 (14:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Mar 2012 20:27:17 +0000 (12:27 -0800)
commitc450c0a994a9f049951913940f3e16402fab0ae7
tree63235762da2d6ad860a8a281118cd53ced34736f
parent63a335a7534fcbbc0347c7dcef91bfeeca9906bc
TTY: simserial/amiserial, use one instance of other members

This means:
* close_delay
* closing_wait
* line
* port
* xmit_fifo_size

This actually fixes a bug in amiserial. It initializes one and uses
the other of the close delays. Yes, duplicating structure members is
evil.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/ia64/hp/sim/simserial.c
drivers/tty/amiserial.c
include/linux/serialP.h