Commit 47534084 authored by Peter Hurley's avatar Peter Hurley Committed by Greg Kroah-Hartman

tty: Deprecate ldisc .chars_in_buffer() method

Signed-off-by: default avatarPeter Hurley <peter@hurleysoftware.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment