Searched hist:"4 ea3cd65" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/accessibility/speakup/ |
H A D | spk_ttyio.c | 4ea3cd65 Fri Dec 18 04:42:44 CST 2020 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> tty: rename tty_kopen() and add new function tty_kopen_shared()
Introduce a new function tty_kopen_shared() that yields a struct tty_struct. The semantic difference to tty_kopen() is that the tty is expected to be used already. So rename tty_kopen() to tty_kopen_exclusive() for clearness, adapt the single user and put the common code in a new static helper function.
tty_kopen_shared is to be used to implement an LED trigger for tty devices in one of the next patches.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20201218104246.591315-2-u.kleine-koenig@pengutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
/openbmc/linux/include/linux/ |
H A D | tty.h | 4ea3cd65 Fri Dec 18 04:42:44 CST 2020 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> tty: rename tty_kopen() and add new function tty_kopen_shared()
Introduce a new function tty_kopen_shared() that yields a struct tty_struct. The semantic difference to tty_kopen() is that the tty is expected to be used already. So rename tty_kopen() to tty_kopen_exclusive() for clearness, adapt the single user and put the common code in a new static helper function.
tty_kopen_shared is to be used to implement an LED trigger for tty devices in one of the next patches.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20201218104246.591315-2-u.kleine-koenig@pengutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
/openbmc/linux/drivers/tty/ |
H A D | tty_io.c | 4ea3cd65 Fri Dec 18 04:42:44 CST 2020 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> tty: rename tty_kopen() and add new function tty_kopen_shared()
Introduce a new function tty_kopen_shared() that yields a struct tty_struct. The semantic difference to tty_kopen() is that the tty is expected to be used already. So rename tty_kopen() to tty_kopen_exclusive() for clearness, adapt the single user and put the common code in a new static helper function.
tty_kopen_shared is to be used to implement an LED trigger for tty devices in one of the next patches.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20201218104246.591315-2-u.kleine-koenig@pengutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|