mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
USB: serial: add tiocmiwait subdriver operation
Add tiocmiwait operation to struct usb_serial_driver. Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5cb27dde2e
commit
143d9d9616
2 changed files with 12 additions and 4 deletions
|
@ -272,6 +272,7 @@ struct usb_serial_driver {
|
|||
int (*tiocmget)(struct tty_struct *tty);
|
||||
int (*tiocmset)(struct tty_struct *tty,
|
||||
unsigned int set, unsigned int clear);
|
||||
int (*tiocmiwait)(struct tty_struct *tty, unsigned long arg);
|
||||
int (*get_icount)(struct tty_struct *tty,
|
||||
struct serial_icounter_struct *icount);
|
||||
/* Called by the tty layer for port level work. There may or may not
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue