diff options
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/soc_camera.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/media/soc_camera.h b/include/media/soc_camera.h index c63a3409ffb7..e9eb60740aaa 100644 --- a/include/media/soc_camera.h +++ b/include/media/soc_camera.h | |||
@@ -74,7 +74,8 @@ struct soc_camera_host_ops { | |||
74 | int (*resume)(struct soc_camera_device *); | 74 | int (*resume)(struct soc_camera_device *); |
75 | int (*get_formats)(struct soc_camera_device *, int, | 75 | int (*get_formats)(struct soc_camera_device *, int, |
76 | struct soc_camera_format_xlate *); | 76 | struct soc_camera_format_xlate *); |
77 | int (*set_fmt)(struct soc_camera_device *, __u32, struct v4l2_rect *); | 77 | int (*set_crop)(struct soc_camera_device *, struct v4l2_rect *); |
78 | int (*set_fmt)(struct soc_camera_device *, struct v4l2_format *); | ||
78 | int (*try_fmt)(struct soc_camera_device *, struct v4l2_format *); | 79 | int (*try_fmt)(struct soc_camera_device *, struct v4l2_format *); |
79 | void (*init_videobuf)(struct videobuf_queue *, | 80 | void (*init_videobuf)(struct videobuf_queue *, |
80 | struct soc_camera_device *); | 81 | struct soc_camera_device *); |
@@ -159,7 +160,8 @@ struct soc_camera_ops { | |||
159 | int (*release)(struct soc_camera_device *); | 160 | int (*release)(struct soc_camera_device *); |
160 | int (*start_capture)(struct soc_camera_device *); | 161 | int (*start_capture)(struct soc_camera_device *); |
161 | int (*stop_capture)(struct soc_camera_device *); | 162 | int (*stop_capture)(struct soc_camera_device *); |
162 | int (*set_fmt)(struct soc_camera_device *, __u32, struct v4l2_rect *); | 163 | int (*set_crop)(struct soc_camera_device *, struct v4l2_rect *); |
164 | int (*set_fmt)(struct soc_camera_device *, struct v4l2_format *); | ||
163 | int (*try_fmt)(struct soc_camera_device *, struct v4l2_format *); | 165 | int (*try_fmt)(struct soc_camera_device *, struct v4l2_format *); |
164 | unsigned long (*query_bus_param)(struct soc_camera_device *); | 166 | unsigned long (*query_bus_param)(struct soc_camera_device *); |
165 | int (*set_bus_param)(struct soc_camera_device *, unsigned long); | 167 | int (*set_bus_param)(struct soc_camera_device *, unsigned long); |