]> www.infradead.org Git - linux-platform-drivers-x86.git/commit
tty: move some internal tty lock enums and functions out of tty.h
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Apr 2021 12:51:30 +0000 (14:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Apr 2021 08:26:58 +0000 (10:26 +0200)
commit6c80c0b94b94192d9a34b400f8237703c6475f4d
tree2e4cdf5a94b5923315d00abe771f91314902d133
parentda5d669e00d2c437b3f508d60add417fc74f4bb6
tty: move some internal tty lock enums and functions out of tty.h

Move the TTY_LOCK_* enums and tty_ldisc lock functions out of the global
tty.h into the local header file to clean things up.

Cc: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20210408125134.3016837-10-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty.h
drivers/tty/tty_buffer.c
drivers/tty/tty_mutex.c
include/linux/tty.h