summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Powalowski <t.powa@gmx.de>2006-05-23 05:35:28 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2006-05-23 17:35:31 (GMT)
commitff4547f4aa9823908e9866495598fc65772c2a09 (patch)
treefcf9554da66fb06d5e466363f6e96cada2aafab2
parenta2eb0c101d24aca9d3d16c30c4f79f3a70c89208 (diff)
downloadlinux-ff4547f4aa9823908e9866495598fc65772c2a09.tar.xz
[PATCH] tty_insert_flip_string_flags() license fix
We still don't have the tty layer licensing compatibility quite right. tty_insert_flip_char() used to be inlined in include/linux/tty_flip.h. It is now out-of-lined and hence needs EXPORT_SYMBOL() to be back-compatible. One known offender is the Intel Modem driver. Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--drivers/char/tty_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c
index f07637a..a88b94a 100644
--- a/drivers/char/tty_io.c
+++ b/drivers/char/tty_io.c
@@ -398,7 +398,7 @@ int tty_insert_flip_string_flags(struct tty_struct *tty,
while (unlikely(size > copied));
return copied;
}
-EXPORT_SYMBOL_GPL(tty_insert_flip_string_flags);
+EXPORT_SYMBOL(tty_insert_flip_string_flags);
void tty_schedule_flip(struct tty_struct *tty)
{