summaryrefslogtreecommitdiff
path: root/sound/firewire/oxfw/oxfw-hwdep.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-07-03 06:27:36 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2017-11-28 00:20:02 +0300
commit680ef72abd84cbe0b722453d6be4e412305c9060 (patch)
tree46ea937c5ba186954e7c92a3a4ce7f3136e50482 /sound/firewire/oxfw/oxfw-hwdep.c
parent0d9b87f3ba71eef698ea69ef111b8ba35af8b318 (diff)
downloadlinux-680ef72abd84cbe0b722453d6be4e412305c9060.tar.xz
sound: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'sound/firewire/oxfw/oxfw-hwdep.c')
-rw-r--r--sound/firewire/oxfw/oxfw-hwdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/firewire/oxfw/oxfw-hwdep.c b/sound/firewire/oxfw/oxfw-hwdep.c
index ff2687ad0460..6c1828aff672 100644
--- a/sound/firewire/oxfw/oxfw-hwdep.c
+++ b/sound/firewire/oxfw/oxfw-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_oxfw *oxfw = hwdep->private_data;
- unsigned int events;
+ __poll_t events;
poll_wait(file, &oxfw->hwdep_wait, wait);