commit | 475340846f4c9c307f2de03cb4fcc486e267e974 | [log] [tgz] |
---|---|---|
author | Peter Hurley <peter@hurleysoftware.com> | Sat Jun 15 09:14:19 2013 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jul 23 16:43:00 2013 -0700 |
tree | 58a15a7f33c584a601818eef59347b0514cb7511 | |
parent | a19d0c6a9166fe3d8bb1575b64f28590206148d9 [diff] [blame] |
tty: Deprecate ldisc .chars_in_buffer() method Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c index 594a3c1..290769c 100644 --- a/drivers/tty/n_tty.c +++ b/drivers/tty/n_tty.c
@@ -297,6 +297,7 @@ 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); }