aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/media/soc_camera.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-07-02 22:22:01 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2017-11-27 16:19:52 -0500
commita3f8683bf7d5e6254fe68f5c5d3585e27eea8ed0 (patch)
treea4fcb5f30ea25b969f9acfc8fdf53a1f401c7e84 /include/media/soc_camera.h
parentdefine __poll_t, annotate constants (diff)
downloadwireguard-linux-a3f8683bf7d5e6254fe68f5c5d3585e27eea8ed0.tar.xz
wireguard-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/soc_camera.h')
-rw-r--r--include/media/soc_camera.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/soc_camera.h b/include/media/soc_camera.h
index 4d8cb0796bc6..b7e42a1b0910 100644
--- a/include/media/soc_camera.h
+++ b/include/media/soc_camera.h
@@ -117,7 +117,7 @@ struct soc_camera_host_ops {
int (*get_parm)(struct soc_camera_device *, struct v4l2_streamparm *);
int (*set_parm)(struct soc_camera_device *, struct v4l2_streamparm *);
int (*enum_framesizes)(struct soc_camera_device *, struct v4l2_frmsizeenum *);
- unsigned int (*poll)(struct file *, poll_table *);
+ __poll_t (*poll)(struct file *, poll_table *);
};
#define SOCAM_SENSOR_INVERT_PCLK (1 << 0)