]> git.baikalelectronics.ru Git - kernel.git/commit
tty: include list & lockdep from tty_ldisc.h
authorJiri Slaby <jslaby@suse.cz>
Fri, 23 Jul 2021 10:31:43 +0000 (12:31 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Jul 2021 10:12:07 +0000 (12:12 +0200)
commite312edf100f262dc04913beae019d556eeafbfd8
tree2c35a30804a093240a6f028ac8500c21312b7379
parent683acdd41d5985b452fc041caa0e9640adbe16c0
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>
include/linux/tty_ldisc.h