diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-08 14:51:30 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-15 10:26:58 +0200 |
| commit | 6c80c0b94b94192d9a34b400f8237703c6475f4d (patch) | |
| tree | 2e4cdf5a94b5923315d00abe771f91314902d133 /drivers/tty/tty_mutex.c | |
| parent | tty: audit: move some local functions out of tty.h (diff) | |
| download | linux-6c80c0b94b94192d9a34b400f8237703c6475f4d.tar.gz linux-6c80c0b94b94192d9a34b400f8237703c6475f4d.zip | |
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>
Diffstat (limited to 'drivers/tty/tty_mutex.c')
| -rw-r--r-- | drivers/tty/tty_mutex.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/tty_mutex.c b/drivers/tty/tty_mutex.c index 2640635ee177..393518a24cfe 100644 --- a/drivers/tty/tty_mutex.c +++ b/drivers/tty/tty_mutex.c @@ -4,6 +4,7 @@ #include <linux/kallsyms.h> #include <linux/semaphore.h> #include <linux/sched.h> +#include "tty.h" /* Legacy tty mutex glue */ |
