diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-02 22:27:13 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-11-27 16:19:58 -0500 |
commit | 8b9aab09aaf390b868359b9365b667cf6506473c (patch) | |
tree | 857e7accd02dda283a7f3805a0699d410f47c457 | |
parent | e720f32fceeaaacf03c977d3bb44892370cf184f (diff) |
mips: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | arch/mips/kernel/rtlx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/kernel/rtlx.c b/arch/mips/kernel/rtlx.c index b80dd8b17a76..bbb0f4770c0d 100644 --- a/arch/mips/kernel/rtlx.c +++ b/arch/mips/kernel/rtlx.c | |||
@@ -336,10 +336,10 @@ static int file_release(struct inode *inode, struct file *filp) | |||
336 | return rtlx_release(iminor(inode)); | 336 | return rtlx_release(iminor(inode)); |
337 | } | 337 | } |
338 | 338 | ||
339 | static unsigned int file_poll(struct file *file, poll_table *wait) | 339 | static __poll_t file_poll(struct file *file, poll_table *wait) |
340 | { | 340 | { |
341 | int minor = iminor(file_inode(file)); | 341 | int minor = iminor(file_inode(file)); |
342 | unsigned int mask = 0; | 342 | __poll_t mask = 0; |
343 | 343 | ||
344 | poll_wait(file, &channel_wqs[minor].rt_queue, wait); | 344 | poll_wait(file, &channel_wqs[minor].rt_queue, wait); |
345 | poll_wait(file, &channel_wqs[minor].lx_queue, wait); | 345 | poll_wait(file, &channel_wqs[minor].lx_queue, wait); |