summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/fsl-viu.c
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 /drivers/media/platform/fsl-viu.c
parent076ccb76e1a6cf0aa5371132efdd502a11e806f1 (diff)
downloadlinux-c23e0cb81e4021b9712b1093d54713991fd9b7c2.tar.gz
linux-c23e0cb81e4021b9712b1093d54713991fd9b7c2.tar.bz2
linux-c23e0cb81e4021b9712b1093d54713991fd9b7c2.zip
media: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/media/platform/fsl-viu.c')
-rw-r--r--drivers/media/platform/fsl-viu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/platform/fsl-viu.c b/drivers/media/platform/fsl-viu.c
index 1e9c1f05d057..de285a269390 100644
--- a/drivers/media/platform/fsl-viu.c
+++ b/drivers/media/platform/fsl-viu.c
@@ -1263,13 +1263,13 @@ static ssize_t viu_read(struct file *file, char __user *data, size_t count,
return 0;
}
-static unsigned int viu_poll(struct file *file, struct poll_table_struct *wait)
+static __poll_t viu_poll(struct file *file, struct poll_table_struct *wait)
{
struct viu_fh *fh = file->private_data;
struct videobuf_queue *q = &fh->vb_vidq;
struct viu_dev *dev = fh->dev;
__poll_t req_events = poll_requested_events(wait);
- unsigned int res = v4l2_ctrl_poll(file, wait);
+ __poll_t res = v4l2_ctrl_poll(file, wait);
if (V4L2_BUF_TYPE_VIDEO_CAPTURE != fh->type)
return POLLERR;