aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2012-11-18 21:27:40 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-21 15:43:26 -0800
commit159a8e92fdf6967cb67e7639832f819fbc607242 (patch)
tree443c3c6af5795a2cef21fe14c77a30487854c772 /drivers/tty
parentSerial: Add support for new devices: Exar's XR17V35x family of multi-port PCIe UARTs (diff)
downloadlinux-dev-159a8e92fdf6967cb67e7639832f819fbc607242.tar.xz
linux-dev-159a8e92fdf6967cb67e7639832f819fbc607242.zip
pty: Mark pty_resize static
Nothing outside of drivers/tty/pty.c references pty_resize. Signed-off-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/pty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/pty.c b/drivers/tty/pty.c
index a541ec875932..be6a373601b7 100644
--- a/drivers/tty/pty.c
+++ b/drivers/tty/pty.c
@@ -277,7 +277,7 @@ static void pty_set_termios(struct tty_struct *tty,
* peform a terminal resize correctly
*/
-int pty_resize(struct tty_struct *tty, struct winsize *ws)
+static int pty_resize(struct tty_struct *tty, struct winsize *ws)
{
struct pid *pgrp, *rpgrp;
unsigned long flags;