Re: [PATCH 1/2] TTY: create /tty and move the tty core files there

From: Arnd Bergmann
Date: Wed Sep 22 2010 - 05:14:20 EST


On Wednesday 22 September 2010, Greg KH wrote:
> The tty code should be at the root of the tree, as everyone
> needs it, and it's always built, and it's not really a "driver"
>
> Based on work done by Arnd Bergmann <arnd@xxxxxxxx>
>
> Cc: Arnd Bergmann <arnd@xxxxxxxx>
> Cc: Jiri Slaby <jslaby@xxxxxxx>
> Cc: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>,
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
> ---
> Makefile | 2 +-
> drivers/char/Makefile | 4 +---
> tty/Makefile | 8 ++++++++
> {drivers/char => tty}/n_tty.c | 0
> {drivers/char => tty}/tty_audit.c | 0
> {drivers/char => tty}/tty_buffer.c | 0
> {drivers/char => tty}/tty_io.c | 0
> {drivers/char => tty}/tty_ioctl.c | 0
> {drivers/char => tty}/tty_ldisc.c | 0
> {drivers/char => tty}/tty_mutex.c | 0
> {drivers/char => tty}/tty_port.c | 0

My original patch also moved pty.o, sysrq.o and the n_*.o line disciplines.
It's probably debatable where the line disciplines should go (I don't care
much, so don't ask me), but pty and sysrq seem like they should really
be part of the tty core directory.

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