aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/tty.h
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2021-07-23 12:31:44 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-27 12:12:07 +0200
commit56eef46aa830824d5046a765d695a78bc0c34fed (patch)
treefbc6d8e8c91522d5ff1024c72eff681dfe35c3da /include/linux/tty.h
parenttty: include list & lockdep from tty_ldisc.h (diff)
downloadlinux-dev-56eef46aa830824d5046a765d695a78bc0c34fed.tar.xz
linux-dev-56eef46aa830824d5046a765d695a78bc0c34fed.zip
tty: move tty_ldisc_receive_buf to tty_flip.h
It's the only remaining tty_buffer.c prototype residing in tty.h. Move it along others to tty_flip.h. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20210723103147.18250-6-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/tty.h')
-rw-r--r--include/linux/tty.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h
index 7f088d43db45..fad53f69a8ca 100644
--- a/include/linux/tty.h
+++ b/include/linux/tty.h
@@ -622,9 +622,6 @@ static inline int tty_port_users(struct tty_port *port)
return port->count + port->blocked_open;
}
-extern int tty_ldisc_receive_buf(struct tty_ldisc *ld, const unsigned char *p,
- const char *f, int count);
-
/* n_tty.c */
extern void n_tty_inherit_ops(struct tty_ldisc_ops *ops);
#ifdef CONFIG_TTY