diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-03 03:02:56 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-11-27 16:20:06 -0500 |
commit | c23e0cb81e4021b9712b1093d54713991fd9b7c2 (patch) | |
tree | b0a5521d0eeddf6bdd629d6be72a3c0949572e56 /drivers/media/radio/si470x | |
parent | 076ccb76e1a6cf0aa5371132efdd502a11e806f1 (diff) | |
download | op-kernel-dev-c23e0cb81e4021b9712b1093d54713991fd9b7c2.zip op-kernel-dev-c23e0cb81e4021b9712b1093d54713991fd9b7c2.tar.gz |
media: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/media/radio/si470x')
-rw-r--r-- | drivers/media/radio/si470x/radio-si470x-common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/radio/si470x/radio-si470x-common.c b/drivers/media/radio/si470x/radio-si470x-common.c index b430bbc..68fe9e5 100644 --- a/drivers/media/radio/si470x/radio-si470x-common.c +++ b/drivers/media/radio/si470x/radio-si470x-common.c @@ -507,12 +507,12 @@ done: /* * si470x_fops_poll - poll RDS data */ -static unsigned int si470x_fops_poll(struct file *file, +static __poll_t si470x_fops_poll(struct file *file, struct poll_table_struct *pts) { struct si470x_device *radio = video_drvdata(file); __poll_t req_events = poll_requested_events(pts); - int retval = v4l2_ctrl_poll(file, pts); + __poll_t retval = v4l2_ctrl_poll(file, pts); if (req_events & (POLLIN | POLLRDNORM)) { /* switch on rds reception */ |