diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/devpts_fs.h | 7 |
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); | |||
| 21 | void devpts_kill_index(struct inode *ptmx_inode, int idx); | 21 | void devpts_kill_index(struct inode *ptmx_inode, int idx); |
| 22 | /* mknod in devpts */ | 22 | /* mknod in devpts */ |
| 23 | int devpts_pty_new(struct inode *ptmx_inode, struct tty_struct *tty); | 23 | int devpts_pty_new(struct inode *ptmx_inode, struct tty_struct *tty); |
| 24 | /* get tty structure */ | 24 | /* get private structure */ |
| 25 | struct tty_struct *devpts_get_tty(struct inode *pts_inode, int number); | 25 | void *devpts_get_priv(struct inode *pts_inode); |
| 26 | /* unlink */ | 26 | /* unlink */ |
| 27 | void devpts_pty_kill(struct tty_struct *tty); | 27 | void 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 | } |
| 39 | static inline struct tty_struct *devpts_get_tty(struct inode *pts_inode, | 39 | static inline void *devpts_get_priv(struct inode *pts_inode) |
| 40 | int number) | ||
| 41 | { | 40 | { |
| 42 | return NULL; | 41 | return NULL; |
| 43 | } | 42 | } |
