summaryrefslogtreecommitdiffstats
path: root/include/media/soc_camera_platform.h
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2011-07-27 15:06:09 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-11-03 21:27:35 +0100
commit84c760a5dec0edab857cc02c29ef334722520310 (patch)
tree8787b475e626795c39089202e155d160689db7d7 /include/media/soc_camera_platform.h
parent[media] V4L: tw9910: support the new mbus-config subdev ops (diff)
downloadlinux-84c760a5dec0edab857cc02c29ef334722520310.tar.xz
linux-84c760a5dec0edab857cc02c29ef334722520310.zip
[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/soc_camera_platform.h')
-rw-r--r--include/media/soc_camera_platform.h3
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 @@
#include <linux/videodev2.h>
#include <media/soc_camera.h>
+#include <media/v4l2-mediabus.h>
struct device;
@@ -21,6 +22,8 @@ struct soc_camera_platform_info {
unsigned long format_depth;
struct v4l2_mbus_framefmt format;
unsigned long bus_param;
+ unsigned long mbus_param;
+ enum v4l2_mbus_type mbus_type;
struct soc_camera_device *icd;
int (*set_capture)(struct soc_camera_platform_info *info, int enable);
};