Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

tty_driver: Update required method documentation

Some of the requirement rules are now more relaxed. Also correct a
contradiction in the previous update

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Alan Cox and committed by
Linus Torvalds
36c7343b 55d85384

+2 -3
+2 -3
include/linux/tty_driver.h
··· 27 27 * This routine is called by the kernel to write a series of 28 28 * characters to the tty device. The characters may come from 29 29 * user space or kernel space. This routine will return the 30 - * number of characters actually accepted for writing. This 31 - * routine is mandatory. 30 + * number of characters actually accepted for writing. 32 31 * 33 32 * Optional: Required for writable devices. 34 33 * ··· 133 134 * This routine notifies the tty driver that it should hangup the 134 135 * tty device. 135 136 * 136 - * Required: 137 + * Optional: 137 138 * 138 139 * void (*break_ctl)(struct tty_stuct *tty, int state); 139 140 *