[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <1287859409-13810-2-git-send-email-alon-git@nolaviz.org>
Date: Sat, 23 Oct 2010 20:43:28 +0200
From: Alon Ziv <alon+git@...aviz.org>
To: linux-usb@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...e.de>, linux-kernel@...r.kernel.org,
Johan Hovold <jhovold@...il.com>,
Alon Ziv <alon+git@...aviz.org>
Subject: [PATCH v2 1/2] Export usb_serial_generic_write_room for use in modules
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@...aviz.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists