Skip to content

Commit

Permalink
tty: Deprecate ldisc .chars_in_buffer() method
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Peter Hurley authored and Greg Kroah-Hartman committed Jul 23, 2013
1 parent a19d0c6 commit 4753408
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/tty/n_tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 4753408

Please sign in to comment.