ldisc n_tty: add new method n_tty_inherit_ops()
authorRodolfo Giometti <giometti@linux.it>
Wed, 10 Mar 2010 23:23:46 +0000 (15:23 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 12 Mar 2010 23:52:43 +0000 (15:52 -0800)
commit572b9adbd40b5565dc413db04af9cc234f72bf19
tree038e00dc5f3b5b1e8835b083df7dccabb2cfd88f
parentb3e63afe8a74c0134d05a551cc74facc3b3ec0d7
ldisc n_tty: add new method n_tty_inherit_ops()

This new method can be used to init a new struct tty_ldisc_ops as the
default tty_ldisc_N_TTY struct.

Signed-off-by: Rodolfo Giometti <giometti@linux.it>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Greg KH <greg@kroah.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Alexander Gordeev <lasaine@lvk.cs.msu.su>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/n_tty.c
include/linux/tty.h