lkml.org 
[lkml]   [2010]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2 1/2] Export usb_serial_generic_write_room for use in modules
Date
Any module using usb_serial_generic_write (which is already exported)
had better use usb_serial_generic_write_room as well, or be prepared
for failures.

Signed-off-by: Alon Ziv <alon-git@nolaviz.org>
---
drivers/usb/serial/generic.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/serial/generic.c b/drivers/usb/serial/generic.c
index e6833e2..c663369 100644
--- a/drivers/usb/serial/generic.c
+++ b/drivers/usb/serial/generic.c
@@ -288,6 +288,7 @@ int usb_serial_generic_write_room(struct tty_struct *tty)
dbg("%s - returns %d", __func__, room);
return room;
}
+EXPORT_SYMBOL_GPL(usb_serial_generic_write_room);

int usb_serial_generic_chars_in_buffer(struct tty_struct *tty)
{
--
1.7.0.4


\
 
 \ /
  Last update: 2010-10-23 20:47    [from the cache]
©2003-2011 Jasper Spaans