diff options
author | Jiri Slaby <jslaby@suse.cz> | 2021-11-26 11:16:10 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-26 18:27:43 +0300 |
commit | 31bc35d3346f24315c48ef8c92282c6c4f1bdd12 (patch) | |
tree | 706c5a89a42680ab426fda1aa26405b581bafc32 /drivers/tty/tty_io.c | |
parent | f3e7614732b064942f56cdcee3bb23a9243c2e00 (diff) | |
download | linux-31bc35d3346f24315c48ef8c92282c6c4f1bdd12.tar.xz |
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>
Diffstat (limited to 'drivers/tty/tty_io.c')
-rw-r--r-- | drivers/tty/tty_io.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c index 26b325e44c53..a4cfd254fda2 100644 --- a/drivers/tty/tty_io.c +++ b/drivers/tty/tty_io.c @@ -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); |