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>
This commit is contained in:

committed by
Linus Torvalds

parent
b3e63afe8a
commit
572b9adbd4
@@ -514,6 +514,7 @@ extern void tty_ldisc_enable(struct tty_struct *tty);
|
||||
|
||||
/* n_tty.c */
|
||||
extern struct tty_ldisc_ops tty_ldisc_N_TTY;
|
||||
extern void n_tty_inherit_ops(struct tty_ldisc_ops *ops);
|
||||
|
||||
/* tty_audit.c */
|
||||
#ifdef CONFIG_AUDIT
|
||||
|
Reference in New Issue
Block a user