[PATCH 1/2] Export usb_serial_generic_write_room for use in othermodules
From: Alon Ziv
Date: Sat Oct 23 2010 - 12:22:11 EST
Any module using usb_serial_generic_write (which is already exported)
had better use usb_serial_generic_write_room as well.
Signed-off-by: Alon Ziv <alon-git@xxxxxxxxxxx>
---
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/