tty: include kref.h in tty_driver.h
authorJiri Slaby <jslaby@suse.cz>
Fri, 23 Jul 2021 10:31:41 +0000 (12:31 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Jul 2021 10:12:07 +0000 (12:12 +0200)
commit890ebae627708cd530592b524efd5d26d9fdb2ec
treeb353349dcbf6f81702cb9cdd66883f85bbc941eb
parent4d3d947866c2da405a6257158e42077fa3c95755
tty: include kref.h in tty_driver.h

We use kref in tty_driver.h, but do not include kref.h. It is currently
included by linux/cdev.h -> linux/kobject.h -> linux/kref.h chain, so
everything is in order only implicitly. So make this dependency
explicit.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210723103147.18250-3-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/tty_driver.h