summaryrefslogtreecommitdiffstats
path: root/sound/firewire/fireface
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-07-03 05:27:36 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2017-11-27 22:20:02 +0100
commit680ef72abd84cbe0b722453d6be4e412305c9060 (patch)
tree46ea937c5ba186954e7c92a3a4ce7f3136e50482 /sound/firewire/fireface
parentacpi: annotate ->poll() instances (diff)
downloadlinux-680ef72abd84cbe0b722453d6be4e412305c9060.tar.xz
linux-680ef72abd84cbe0b722453d6be4e412305c9060.zip
sound: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'sound/firewire/fireface')
-rw-r--r--sound/firewire/fireface/ff-hwdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/firewire/fireface/ff-hwdep.c b/sound/firewire/fireface/ff-hwdep.c
index 3ee04b054585..68e273fa5d23 100644
--- a/sound/firewire/fireface/ff-hwdep.c
+++ b/sound/firewire/fireface/ff-hwdep.c
@@ -52,11 +52,11 @@ static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count,
return count;
}
-static unsigned int hwdep_poll(struct snd_hwdep *hwdep, struct file *file,
+static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file,
poll_table *wait)
{
struct snd_ff *ff = hwdep->private_data;
- unsigned int events;
+ __poll_t events;
poll_wait(file, &ff->hwdep_wait, wait);