aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2013-10-09 11:01:12 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-11 20:00:26 -0400
commit706cd17e8559c96dc883ba692c931f1ef31fbc5c (patch)
tree66dea7852d01ecc7e1269ed9637ceb1c0254c22f /drivers/usb/serial
parent818f60365a29ab1266d92c6a91094fbf93465ff8 (diff)
USB: serial: export usb_serial_generic_write_start
Export usb_serial_generic_write_start which is needed when implementing a custom resume function while still relying on the generic write implementation. Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r--drivers/usb/serial/generic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/serial/generic.c b/drivers/usb/serial/generic.c
index 31f78290c0e4..2b01ec8651c2 100644
--- a/drivers/usb/serial/generic.c
+++ b/drivers/usb/serial/generic.c
@@ -129,7 +129,7 @@ int usb_serial_generic_prepare_write_buffer(struct usb_serial_port *port,
129 * 129 *
130 * Return: Zero on success or if busy, otherwise a negative errno value. 130 * Return: Zero on success or if busy, otherwise a negative errno value.
131 */ 131 */
132static int usb_serial_generic_write_start(struct usb_serial_port *port, 132int usb_serial_generic_write_start(struct usb_serial_port *port,
133 gfp_t mem_flags) 133 gfp_t mem_flags)
134{ 134{
135 struct urb *urb; 135 struct urb *urb;
@@ -184,6 +184,7 @@ retry:
184 184
185 return 0; 185 return 0;
186} 186}
187EXPORT_SYMBOL_GPL(usb_serial_generic_write_start);
187 188
188/** 189/**
189 * usb_serial_generic_write - generic write function 190 * usb_serial_generic_write - generic write function