diff options
Diffstat (limited to 'drivers/char/tty_io.c')
-rw-r--r-- | drivers/char/tty_io.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c index 558ca927e32b..b9fce77c8f03 100644 --- a/drivers/char/tty_io.c +++ b/drivers/char/tty_io.c | |||
@@ -155,6 +155,7 @@ int tty_ioctl(struct inode * inode, struct file * file, | |||
155 | unsigned int cmd, unsigned long arg); | 155 | unsigned int cmd, unsigned long arg); |
156 | static int tty_fasync(int fd, struct file * filp, int on); | 156 | static int tty_fasync(int fd, struct file * filp, int on); |
157 | static void release_tty(struct tty_struct *tty, int idx); | 157 | static void release_tty(struct tty_struct *tty, int idx); |
158 | static void __proc_set_tty(struct task_struct *tsk, struct tty_struct *tty); | ||
158 | 159 | ||
159 | /** | 160 | /** |
160 | * alloc_tty_struct - allocate a tty object | 161 | * alloc_tty_struct - allocate a tty object |
@@ -3791,7 +3792,7 @@ void proc_clear_tty(struct task_struct *p) | |||
3791 | } | 3792 | } |
3792 | EXPORT_SYMBOL(proc_clear_tty); | 3793 | EXPORT_SYMBOL(proc_clear_tty); |
3793 | 3794 | ||
3794 | void __proc_set_tty(struct task_struct *tsk, struct tty_struct *tty) | 3795 | static void __proc_set_tty(struct task_struct *tsk, struct tty_struct *tty) |
3795 | { | 3796 | { |
3796 | if (tty) { | 3797 | if (tty) { |
3797 | tty->session = process_session(tsk); | 3798 | tty->session = process_session(tsk); |