diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-03 04:22:01 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-11-27 22:19:52 +0100 |
commit | a3f8683bf7d5e6254fe68f5c5d3585e27eea8ed0 (patch) | |
tree | a4fcb5f30ea25b969f9acfc8fdf53a1f401c7e84 /include/sound/hwdep.h | |
parent | define __poll_t, annotate constants (diff) | |
download | linux-a3f8683bf7d5e6254fe68f5c5d3585e27eea8ed0.tar.xz linux-a3f8683bf7d5e6254fe68f5c5d3585e27eea8ed0.zip |
->poll() methods should return __poll_t
The most common place to find POLL... bitmaps: return values
of ->poll() and its subsystem counterparts.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/sound/hwdep.h')
-rw-r--r-- | include/sound/hwdep.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/hwdep.h b/include/sound/hwdep.h index ab9fcb2f97f0..afeca593188a 100644 --- a/include/sound/hwdep.h +++ b/include/sound/hwdep.h @@ -37,7 +37,7 @@ struct snd_hwdep_ops { long count, loff_t *offset); int (*open)(struct snd_hwdep *hw, struct file * file); int (*release)(struct snd_hwdep *hw, struct file * file); - unsigned int (*poll)(struct snd_hwdep *hw, struct file *file, + __poll_t (*poll)(struct snd_hwdep *hw, struct file *file, poll_table *wait); int (*ioctl)(struct snd_hwdep *hw, struct file *file, unsigned int cmd, unsigned long arg); |