aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/tty_io.c
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2012-11-19 00:27:47 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-21 18:19:52 -0500
commit2520e2745cf35c8fd01476dd01eacfc813649f7a (patch)
tree36fcbabc13a5e777bc683c8af375fed1e58e1397 /drivers/tty/tty_io.c
parenta5e04b760a033c5247478dbc957970cd9d968fc6 (diff)
tty: Mark tty_del_file and __tty_hangup static
Nothing outside of drivers/tty/tty_io.c references these functions, so mark them static. Signed-off-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/tty_io.c')
-rw-r--r--drivers/tty/tty_io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c
index 739ea86c1cf1..da9fde850754 100644
--- a/drivers/tty/tty_io.c
+++ b/drivers/tty/tty_io.c
@@ -236,7 +236,7 @@ void tty_free_file(struct file *file)
236} 236}
237 237
238/* Delete file from its tty */ 238/* Delete file from its tty */
239void tty_del_file(struct file *file) 239static void tty_del_file(struct file *file)
240{ 240{
241 struct tty_file_private *priv = file->private_data; 241 struct tty_file_private *priv = file->private_data;
242 242
@@ -554,7 +554,7 @@ EXPORT_SYMBOL_GPL(tty_wakeup);
554 * tasklist_lock to walk task list for hangup event 554 * tasklist_lock to walk task list for hangup event
555 * ->siglock to protect ->signal/->sighand 555 * ->siglock to protect ->signal/->sighand
556 */ 556 */
557void __tty_hangup(struct tty_struct *tty) 557static void __tty_hangup(struct tty_struct *tty)
558{ 558{
559 struct file *cons_filp = NULL; 559 struct file *cons_filp = NULL;
560 struct file *filp, *f = NULL; 560 struct file *filp, *f = NULL;