Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36c7343b authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds
Browse files

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: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 55d85384
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -27,8 +27,7 @@
 * 	This routine is called by the kernel to write a series of
 * 	characters to the tty device.  The characters may come from
 * 	user space or kernel space.  This routine will return the
 *	number of characters actually accepted for writing.  This
 *	routine is mandatory.
 *	number of characters actually accepted for writing.
 *
 *	Optional: Required for writable devices.
 *
@@ -134,7 +133,7 @@
 * 	This routine notifies the tty driver that it should hangup the
 * 	tty device.
 *
 *	Required:
 *	Optional:
 *
 * void (*break_ctl)(struct tty_stuct *tty, int state);
 *