summaryrefslogtreecommitdiffstats
path: root/drivers/tty/tty_io.c
diff options
context:
space:
mode:
authorChanglong Xie <changlongx.xie@intel.com>2013-03-20 01:42:04 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-25 22:07:34 +0100
commit44a459fd83376d08b0dea776354761ebb1bacde1 (patch)
tree4e835e1362210d5c40f2f5c6cf7a1191407dfa83 /drivers/tty/tty_io.c
parentCAIF: fix tty->warned build error (diff)
downloadlinux-44a459fd83376d08b0dea776354761ebb1bacde1.tar.xz
linux-44a459fd83376d08b0dea776354761ebb1bacde1.zip
tty: tty_vhangup_session can be static
Reported-by: Fengguang Wu <fengguang.wu@intel.com> Acked-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/tty_io.c')
-rw-r--r--drivers/tty/tty_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c
index 6afca98fae21..cbf5a5040908 100644
--- a/drivers/tty/tty_io.c
+++ b/drivers/tty/tty_io.c
@@ -777,7 +777,7 @@ void tty_vhangup_self(void)
* is complete. That guarantee is necessary for security reasons.
*/
-void tty_vhangup_session(struct tty_struct *tty)
+static void tty_vhangup_session(struct tty_struct *tty)
{
#ifdef TTY_DEBUG_HANGUP
char buf[64];