Browse Source

tty: Deprecate ldisc .chars_in_buffer() method

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Peter Hurley 12 years ago
parent
commit
475340846f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/tty/n_tty.c

+ 1 - 0
drivers/tty/n_tty.c

@@ -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);
 }