提交 47534084 编写于 作者: P Peter Hurley 提交者: Greg Kroah-Hartman

tty: Deprecate ldisc .chars_in_buffer() method

Signed-off-by: NPeter Hurley <peter@hurleysoftware.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 a19d0c6a
......@@ -297,6 +297,7 @@ static ssize_t chars_in_buffer(struct tty_struct *tty)
static ssize_t n_tty_chars_in_buffer(struct tty_struct *tty)
{
WARN_ONCE(1, "%s is deprecated and scheduled for removal.", __func__);
return chars_in_buffer(tty);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册