The patch titled ldisc-n_tty-add-new-method-n_tty_inherit_ops-update has been added to the -mm tree. Its filename is ldisc-n_tty-add-new-method-n_tty_inherit_ops-update.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: ldisc-n_tty-add-new-method-n_tty_inherit_ops-update From: Rodolfo Giometti <giometti@xxxxxxxx> 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@xxxxxxxx> Cc: David Woodhouse <dwmw2@xxxxxxxxxxxxx> Cc: Greg KH <greg@xxxxxxxxx> Cc: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> Cc: Alexander Gordeev <lasaine@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/char/n_tty.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff -puN drivers/char/n_tty.c~ldisc-n_tty-add-new-method-n_tty_inherit_ops-update drivers/char/n_tty.c --- a/drivers/char/n_tty.c~ldisc-n_tty-add-new-method-n_tty_inherit_ops-update +++ a/drivers/char/n_tty.c @@ -2093,6 +2093,14 @@ struct tty_ldisc_ops tty_ldisc_N_TTY = { .write_wakeup = n_tty_write_wakeup }; +/** + * n_tty_inherit_ops - inherit N_TTY methods + * @ops: struct tty_ldisc_ops where to save N_TTY methods + * + * Used by a generic struct tty_ldisc_ops to easily inherit N_TTY + * methods. + */ + void n_tty_inherit_ops(struct tty_ldisc_ops *ops) { *ops = tty_ldisc_N_TTY; _ Patches currently in -mm which might be from giometti@xxxxxxxx are linux-next.patch pps-linuxpps-clients-support.patch ldisc-new-dcd_change-method-for-line-disciplines.patch ldisc-n_tty-add-new-method-n_tty_inherit_ops.patch ldisc-n_tty-add-new-method-n_tty_inherit_ops-update.patch pps-serial-clients-support.patch serial-8250-enable-pps-support.patch serial-amba-pl010-enable-pps-support.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html