diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2011-07-27 09:06:09 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-03 16:27:35 -0400 |
commit | 84c760a5dec0edab857cc02c29ef334722520310 (patch) | |
tree | 8787b475e626795c39089202e155d160689db7d7 /include/media | |
parent | 0d3263f9ad74d60cdcc2beaa365913be85769696 (diff) |
[media] V4L: soc_camera_platform: support the new mbus-config subdev ops
Extend the driver to also support [gs]_mbus_config() subdevice video
operations.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/soc_camera_platform.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/media/soc_camera_platform.h b/include/media/soc_camera_platform.h index 74f0fa15ca47..a15f92be8aba 100644 --- a/include/media/soc_camera_platform.h +++ b/include/media/soc_camera_platform.h | |||
@@ -13,6 +13,7 @@ | |||
13 | 13 | ||
14 | #include <linux/videodev2.h> | 14 | #include <linux/videodev2.h> |
15 | #include <media/soc_camera.h> | 15 | #include <media/soc_camera.h> |
16 | #include <media/v4l2-mediabus.h> | ||
16 | 17 | ||
17 | struct device; | 18 | struct device; |
18 | 19 | ||
@@ -21,6 +22,8 @@ struct soc_camera_platform_info { | |||
21 | unsigned long format_depth; | 22 | unsigned long format_depth; |
22 | struct v4l2_mbus_framefmt format; | 23 | struct v4l2_mbus_framefmt format; |
23 | unsigned long bus_param; | 24 | unsigned long bus_param; |
25 | unsigned long mbus_param; | ||
26 | enum v4l2_mbus_type mbus_type; | ||
24 | struct soc_camera_device *icd; | 27 | struct soc_camera_device *icd; |
25 | int (*set_capture)(struct soc_camera_platform_info *info, int enable); | 28 | int (*set_capture)(struct soc_camera_platform_info *info, int enable); |
26 | }; | 29 | }; |