summaryrefslogtreecommitdiffstats
path: root/fs/proc/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc/inode.c')
-rw-r--r--fs/proc/inode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/proc/inode.c b/fs/proc/inode.c
index dd0f82622427..8dacaabb9f37 100644
--- a/fs/proc/inode.c
+++ b/fs/proc/inode.c
@@ -234,11 +234,11 @@ static ssize_t proc_reg_write(struct file *file, const char __user *buf, size_t
234 return rv; 234 return rv;
235} 235}
236 236
237static unsigned int proc_reg_poll(struct file *file, struct poll_table_struct *pts) 237static __poll_t proc_reg_poll(struct file *file, struct poll_table_struct *pts)
238{ 238{
239 struct proc_dir_entry *pde = PDE(file_inode(file)); 239 struct proc_dir_entry *pde = PDE(file_inode(file));
240 unsigned int rv = DEFAULT_POLLMASK; 240 __poll_t rv = DEFAULT_POLLMASK;
241 unsigned int (*poll)(struct file *, struct poll_table_struct *); 241 __poll_t (*poll)(struct file *, struct poll_table_struct *);
242 if (use_pde(pde)) { 242 if (use_pde(pde)) {
243 poll = pde->proc_fops->poll; 243 poll = pde->proc_fops->poll;
244 if (poll) 244 if (poll)