mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-23 20:24:12 +08:00
tty: add kernel-doc for tty_standard_install
It is the only missing exported function which is not documented. Fix it. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20211126081611.11001-23-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f3e7614732
commit
31bc35d334
@ -1275,6 +1275,14 @@ void tty_init_termios(struct tty_struct *tty)
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(tty_init_termios);
|
||||
|
||||
/**
|
||||
* tty_standard_install - usual tty->ops->install
|
||||
* @driver: the driver for the tty
|
||||
* @tty: the tty
|
||||
*
|
||||
* If the @driver overrides @tty->ops->install, it still can call this function
|
||||
* to perform the standard install operations.
|
||||
*/
|
||||
int tty_standard_install(struct tty_driver *driver, struct tty_struct *tty)
|
||||
{
|
||||
tty_init_termios(tty);
|
||||
|
Loading…
Reference in New Issue
Block a user