diff options
author | Al Viro | 2017-07-03 04:22:01 +0200 |
---|---|---|
committer | Al Viro | 2017-11-27 22:19:52 +0100 |
commit | a3f8683bf7d5e6254fe68f5c5d3585e27eea8ed0 (patch) | |
tree | a4fcb5f30ea25b969f9acfc8fdf53a1f401c7e84 /include/media/media-devnode.h | |
parent | define __poll_t, annotate constants (diff) | |
download | kernel-qcow2-linux-a3f8683bf7d5e6254fe68f5c5d3585e27eea8ed0.tar.gz kernel-qcow2-linux-a3f8683bf7d5e6254fe68f5c5d3585e27eea8ed0.tar.xz kernel-qcow2-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/media/media-devnode.h')
-rw-r--r-- | include/media/media-devnode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/media-devnode.h b/include/media/media-devnode.h index 511615d3bf6f..dc2f64e1b08f 100644 --- a/include/media/media-devnode.h +++ b/include/media/media-devnode.h @@ -56,7 +56,7 @@ struct media_file_operations { struct module *owner; ssize_t (*read) (struct file *, char __user *, size_t, loff_t *); ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *); - unsigned int (*poll) (struct file *, struct poll_table_struct *); + __poll_t (*poll) (struct file *, struct poll_table_struct *); long (*ioctl) (struct file *, unsigned int, unsigned long); long (*compat_ioctl) (struct file *, unsigned int, unsigned long); int (*open) (struct file *); |