dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/arch/m68k/emu
Jiri Slaby 191c5f1027 TTY: call tty_port_destroy in the rest of drivers
After commit "TTY: move tty buffers to tty_port", the tty buffers are
not freed in some drivers. This is because tty_port_destructor is not
called whenever a tty_port is freed. This was an assumption I counted
with but was unfortunately untrue. So fix the drivers to fulfil this
assumption.

To be sure, the TTY buffers (and later some stuff) are gone along with
the tty_port, we have to call tty_port_destroy at tear-down places.
This is mostly where the structure containing a tty_port is freed.
This patch does exactly that -- put tty_port_destroy at those places.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-15 17:20:58 -08:00
..
Makefile m68k/atari: ARAnyM - Add support for network access 2011-03-16 19:10:41 +01:00
natfeat.c m68k/atari: ARAnyM - Add support for console access 2011-03-16 19:10:41 +01:00
nfblock.c block: remove support for bio remapping from ->make_request 2011-09-12 12:12:01 +02:00
nfcon.c TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
nfeth.c m68k: Initconst section fixes 2011-12-10 19:52:48 +01:00