Messages in this thread | | | Date | Fri, 19 Feb 2010 13:45:35 -0800 | From | Andrew Morton <> | Subject | Re: [PATCH 5/8] ldisc n_tty: add new method n_tty_inherit_ops() |
| |
On Tue, 16 Feb 2010 10:51:22 +0100 Rodolfo Giometti <giometti@linux.it> wrote:
> }; > + > +void n_tty_inherit_ops(struct tty_ldisc_ops *ops) > +{ > + *ops = tty_ldisc_N_TTY; > + ops->owner = NULL; > + ops->refcount = ops->flags = 0; > +} > +EXPORT_SYMBOL_GPL(n_tty_inherit_ops);
Most (nearly all) functions in n_tty.c have been documented in kerneldoc form. Let's continue that please.
n_tty_inherit_ops() is of course pretty simple, but OTOH it's a global, export-to-modules interface.
| |