[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-id: <1287850818-12050-2-git-send-email-alon-git@nolaviz.org>
Date:	Sat, 23 Oct 2010 18:20:17 +0200
From:	Alon Ziv <alon+git@...aviz.org>
To:	linux-usb@...r.kernel.org
Cc:	Alon Ziv <alon+git@...aviz.org>,
	Greg Kroah-Hartman <gregkh@...e.de>,
	Johan Hovold <jhovold@...il.com>,
	Stefani Seibold <stefani@...bold.net>,
	Jason Wessel <jason.wessel@...driver.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org
Subject: [PATCH 1/2] Export usb_serial_generic_write_room for use in other
 modules
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@...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
 
