diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2013-11-22 13:06:08 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-08 17:03:03 -0800 |
commit | c4a8dab5806188fb2a752467b63a7fd19bcbf0ec (patch) | |
tree | 207e58fe717bb5622465b2cba7c254d131d7e382 /drivers/tty/tty_buffer.c | |
parent | 7e1e71d1546a28ea0ccc06320987e6c4ab2e1dbe (diff) | |
download | lwn-c4a8dab5806188fb2a752467b63a7fd19bcbf0ec.tar.gz lwn-c4a8dab5806188fb2a752467b63a7fd19bcbf0ec.zip |
staging/fwserial: Rip out rx buffering
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/tty_buffer.c')
-rw-r--r-- | drivers/tty/tty_buffer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/tty_buffer.c b/drivers/tty/tty_buffer.c index 6a3620e1cc7a..6454c0a747ef 100644 --- a/drivers/tty/tty_buffer.c +++ b/drivers/tty/tty_buffer.c @@ -92,6 +92,7 @@ int tty_buffer_space_avail(struct tty_port *port) int space = port->buf.mem_limit - atomic_read(&port->buf.mem_used); return max(space, 0); } +EXPORT_SYMBOL_GPL(tty_buffer_space_avail); static void tty_buffer_reset(struct tty_buffer *p, size_t size) { |