Re: [PATCH 5/8] ldisc n_tty: add new method n_tty_inherit_ops()

From: Andrew Morton
Date: Fri Feb 19 2010 - 16:48:10 EST


On Tue, 16 Feb 2010 10:51:22 +0100
Rodolfo Giometti <giometti@xxxxxxxx> 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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/