From: Jiri Slaby Date: Wed, 23 Mar 2011 09:48:35 +0000 (+0100) Subject: TTY: introduce deinit helpers for proper ldisc shutdown X-Git-Tag: v3.0-rc1~338^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6716671d8c1c07a8072098764d1b7cbfef7412ad;p=pandora-kernel.git TTY: introduce deinit helpers for proper ldisc shutdown Introduce deinitialize_tty_struct which should be called after initialize_tty_struct and before successfull tty_ldisc_setup. It calls tty_ldisc_deinit which is opposite of tty_ldisc_init. It only puts a reference to ldisc and assigns NULL to tty->ldisc. It will be used to shut down ldisc when tty_release cannot be called yet. Signed-off-by: Jiri Slaby Cc: Alan Cox Cc: Julian Anastasov Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed