mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 12:14:01 +08:00
tty: Deprecate ldisc .chars_in_buffer() method
Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a19d0c6a91
commit
475340846f
@ -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)
|
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);
|
return chars_in_buffer(tty);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user