]> git.baikalelectronics.ru Git - kernel.git/commit
n_tty: Move chars_in_buffer() to factor throttle/unthrottle
authorPeter Hurley <peter@hurleysoftware.com>
Sat, 15 Jun 2013 13:14:32 +0000 (09:14 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 23:43:02 +0000 (16:43 -0700)
commit6fa35a286bf21a1e939201bd59b3f3a7090c03bf
treec35f7f64f6621ae2aa85982a2373bce71e55b673
parent3bb4698dc3e83ed3576a3dffb40d330c82078841
n_tty: Move chars_in_buffer() to factor throttle/unthrottle

Prepare to factor throttle and unthrottle into helper functions;
relocate chars_in_buffer() to avoid forward declaration.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_tty.c