提交 ff4547f4 编写于 作者: T Tobias Powalowski 提交者: Linus Torvalds

[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: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 a2eb0c10
...@@ -398,7 +398,7 @@ int tty_insert_flip_string_flags(struct tty_struct *tty, ...@@ -398,7 +398,7 @@ int tty_insert_flip_string_flags(struct tty_struct *tty,
while (unlikely(size > copied)); while (unlikely(size > copied));
return 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) void tty_schedule_flip(struct tty_struct *tty)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册