Re: [PATCH 1/2] tty_io: add an API to get device corresponding totty_struct

From: Alan Cox
Date: Sun Aug 08 2010 - 08:42:18 EST


> I was afraid of messing with tty layer in such way, as it's a bit too
> complex for me.
>
> Do you mean adding struct device pointer to struct tty_struct (easy),
> or refactoring code so, that struct tty_struct contains embedded
> struct device and uses it for refcounting & stuff?

The former.

Alan
--
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/