]> git.baikalelectronics.ru Git - kernel.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)
commite2f99bb195df32d487b930d5c2727d36fa429ac1
tree2e4cdf5a94b5923315d00abe771f91314902d133
parentee48a9e30d62214b7508a2536b701f54e7c396a8
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