[PATCH] tty: make __proc_set_tty static
[linux-drm-fsl-dcu.git] / drivers / char / tty_io.c
index 558ca927e32b1ebd4d9a7ea0c5b5b41b028b696b..b9fce77c8f032ce0f7af9803eee6d9f6ba20e79d 100644 (file)
@@ -155,6 +155,7 @@ int tty_ioctl(struct inode * inode, struct file * file,
              unsigned int cmd, unsigned long arg);
 static int tty_fasync(int fd, struct file * filp, int on);
 static void release_tty(struct tty_struct *tty, int idx);
+static void __proc_set_tty(struct task_struct *tsk, struct tty_struct *tty);
 
 /**
  *     alloc_tty_struct        -       allocate a tty object
@@ -3791,7 +3792,7 @@ void proc_clear_tty(struct task_struct *p)
 }
 EXPORT_SYMBOL(proc_clear_tty);
 
-void __proc_set_tty(struct task_struct *tsk, struct tty_struct *tty)
+static void __proc_set_tty(struct task_struct *tsk, struct tty_struct *tty)
 {
        if (tty) {
                tty->session = process_session(tsk);