summaryrefslogtreecommitdiff
path: root/include/media/videobuf2-v4l2.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-07-03 03:02:56 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2017-11-27 16:20:06 -0500
commitc23e0cb81e4021b9712b1093d54713991fd9b7c2 (patch)
treeb0a5521d0eeddf6bdd629d6be72a3c0949572e56 /include/media/videobuf2-v4l2.h
parent076ccb76e1a6cf0aa5371132efdd502a11e806f1 (diff)
downloadlinux-riscv-c23e0cb81e4021b9712b1093d54713991fd9b7c2.tar.gz
linux-riscv-c23e0cb81e4021b9712b1093d54713991fd9b7c2.tar.bz2
linux-riscv-c23e0cb81e4021b9712b1093d54713991fd9b7c2.zip
media: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/media/videobuf2-v4l2.h')
-rw-r--r--include/media/videobuf2-v4l2.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/media/videobuf2-v4l2.h b/include/media/videobuf2-v4l2.h
index 036127c54bbf..c2fa55657440 100644
--- a/include/media/videobuf2-v4l2.h
+++ b/include/media/videobuf2-v4l2.h
@@ -226,8 +226,7 @@ void vb2_queue_release(struct vb2_queue *q);
* The return values from this function are intended to be directly returned
* from poll handler in driver.
*/
-unsigned int vb2_poll(struct vb2_queue *q, struct file *file,
- poll_table *wait);
+__poll_t vb2_poll(struct vb2_queue *q, struct file *file, poll_table *wait);
/*
* The following functions are not part of the vb2 core API, but are simple
@@ -262,7 +261,7 @@ ssize_t vb2_fop_write(struct file *file, const char __user *buf,
size_t count, loff_t *ppos);
ssize_t vb2_fop_read(struct file *file, char __user *buf,
size_t count, loff_t *ppos);
-unsigned int vb2_fop_poll(struct file *file, poll_table *wait);
+__poll_t vb2_fop_poll(struct file *file, poll_table *wait);
#ifndef CONFIG_MMU
unsigned long vb2_fop_get_unmapped_area(struct file *file, unsigned long addr,
unsigned long len, unsigned long pgoff, unsigned long flags);