Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

tty: Deprecate ldisc .chars_in_buffer() method

parent a19d0c6a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);
}