1
0
Fork 0

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>
wifi-calibration
Alan Cox 2008-06-23 12:06:52 +01:00 committed by Linus Torvalds
parent 55d8538498
commit 36c7343b4e
1 changed files with 2 additions and 3 deletions

View File

@ -27,8 +27,7 @@
* This routine is called by the kernel to write a series of * This routine is called by the kernel to write a series of
* characters to the tty device. The characters may come from * characters to the tty device. The characters may come from
* user space or kernel space. This routine will return the * user space or kernel space. This routine will return the
* number of characters actually accepted for writing. This * number of characters actually accepted for writing.
* routine is mandatory.
* *
* Optional: Required for writable devices. * Optional: Required for writable devices.
* *
@ -134,7 +133,7 @@
* This routine notifies the tty driver that it should hangup the * This routine notifies the tty driver that it should hangup the
* tty device. * tty device.
* *
* Required: * Optional:
* *
* void (*break_ctl)(struct tty_stuct *tty, int state); * void (*break_ctl)(struct tty_stuct *tty, int state);
* *