aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/devpts_fs.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/linux/devpts_fs.h b/include/linux/devpts_fs.h
index 5ce0e5fd712e..de635a5505ea 100644
--- a/include/linux/devpts_fs.h
+++ b/include/linux/devpts_fs.h
@@ -21,8 +21,8 @@ int devpts_new_index(struct inode *ptmx_inode);
21void devpts_kill_index(struct inode *ptmx_inode, int idx); 21void devpts_kill_index(struct inode *ptmx_inode, int idx);
22/* mknod in devpts */ 22/* mknod in devpts */
23int devpts_pty_new(struct inode *ptmx_inode, struct tty_struct *tty); 23int devpts_pty_new(struct inode *ptmx_inode, struct tty_struct *tty);
24/* get tty structure */ 24/* get private structure */
25struct tty_struct *devpts_get_tty(struct inode *pts_inode, int number); 25void *devpts_get_priv(struct inode *pts_inode);
26/* unlink */ 26/* unlink */
27void devpts_pty_kill(struct tty_struct *tty); 27void devpts_pty_kill(struct tty_struct *tty);
28 28
@@ -36,8 +36,7 @@ static inline int devpts_pty_new(struct inode *ptmx_inode,
36{ 36{
37 return -EINVAL; 37 return -EINVAL;
38} 38}
39static inline struct tty_struct *devpts_get_tty(struct inode *pts_inode, 39static inline void *devpts_get_priv(struct inode *pts_inode)
40 int number)
41{ 40{
42 return NULL; 41 return NULL;
43} 42}