mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
USB: serial: add generic get_icount implementation
Add generic get_icount implementation that subdrivers relying on the port interrupt counters can use. Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c371de14b9
commit
befefcda4b
2 changed files with 29 additions and 0 deletions
|
@ -335,6 +335,8 @@ extern void usb_serial_generic_throttle(struct tty_struct *tty);
|
|||
extern void usb_serial_generic_unthrottle(struct tty_struct *tty);
|
||||
extern int usb_serial_generic_tiocmiwait(struct tty_struct *tty,
|
||||
unsigned long arg);
|
||||
extern int usb_serial_generic_get_icount(struct tty_struct *tty,
|
||||
struct serial_icounter_struct *icount);
|
||||
extern int usb_serial_generic_register(void);
|
||||
extern void usb_serial_generic_deregister(void);
|
||||
extern int usb_serial_generic_submit_read_urbs(struct usb_serial_port *port,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue