USB: serial: export usb_serial_generic_chars_in_buffer
Export generic chars_in_buffer implementation so it can be used in subdrivers in combination with checks of any hardware buffers. Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a4afff6b32
commit
428d998855
1 changed files with 1 additions and 0 deletions
|
@ -262,6 +262,7 @@ int usb_serial_generic_chars_in_buffer(struct tty_struct *tty)
|
|||
dev_dbg(&port->dev, "%s - returns %d\n", __func__, chars);
|
||||
return chars;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(usb_serial_generic_chars_in_buffer);
|
||||
|
||||
static int usb_serial_generic_submit_read_urb(struct usb_serial_port *port,
|
||||
int index, gfp_t mem_flags)
|
||||
|
|
Loading…
Add table
Reference in a new issue