projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4afff6
)
USB: serial: export usb_serial_generic_chars_in_buffer
author
Johan Hovold
<jhovold@gmail.com>
Mon, 29 Oct 2012 09:56:25 +0000
(10:56 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 30 Oct 2012 20:19:30 +0000
(13:19 -0700)
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>
drivers/usb/serial/generic.c
patch
|
blob
|
history
diff --git
a/drivers/usb/serial/generic.c
b/drivers/usb/serial/generic.c
index 296612153ea20ca5bac102b9b98716e4bb7e2cdb..2ea70a631996f0fd856159a68392cb209d7a3134 100644
(file)
--- a/
drivers/usb/serial/generic.c
+++ b/
drivers/usb/serial/generic.c
@@
-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)