diff options
author | Jiri Slaby <jslaby@suse.cz> | 2021-07-23 13:31:43 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-27 13:12:07 +0300 |
commit | abca990183e933d8448a4791c2912b509a17e290 (patch) | |
tree | 2c35a30804a093240a6f028ac8500c21312b7379 /include/linux/tty_ldisc.h | |
parent | a24bc667ac1f19cdda8a998cdaf7fbdd4fc0a040 (diff) | |
download | linux-abca990183e933d8448a4791c2912b509a17e290.tar.xz |
tty: include list & lockdep from tty_ldisc.h
We use structs list_head and lockdep_map as non-pointers in tty_ldisc.h.
So better have headers defining them explicitly included so that the
structs are always defined. Not only implicitly via random include
chains.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210723103147.18250-5-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/tty_ldisc.h')
-rw-r--r-- | include/linux/tty_ldisc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/tty_ldisc.h b/include/linux/tty_ldisc.h index 62131bb9251f..b1d812e902aa 100644 --- a/include/linux/tty_ldisc.h +++ b/include/linux/tty_ldisc.h @@ -128,6 +128,8 @@ struct tty_struct; #include <linux/fs.h> #include <linux/wait.h> #include <linux/atomic.h> +#include <linux/list.h> +#include <linux/lockdep.h> #include <linux/seq_file.h> /* |