summaryrefslogtreecommitdiff
path: root/linux/include/media/soc_camera_platform.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-07-17 11:25:22 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-17 11:25:22 -0300
commit4c84a6e76e0e11dc6b85b8fcf1a10b08632c66b9 (patch)
tree109a2119d00144527c686d7aa9d5ae09724383f0 /linux/include/media/soc_camera_platform.h
parentc6071050792a48dd93a475eeadecdd17064a351c (diff)
parent3fe2344caf39a540e5315763e4a5ca0183afbd51 (diff)
downloadmediapointer-dvb-s2-4c84a6e76e0e11dc6b85b8fcf1a10b08632c66b9.tar.gz
mediapointer-dvb-s2-4c84a6e76e0e11dc6b85b8fcf1a10b08632c66b9.tar.bz2
merge: http://linuxtv.org/hg/~jfrancois/gspca/
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/include/media/soc_camera_platform.h')
-rw-r--r--linux/include/media/soc_camera_platform.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/linux/include/media/soc_camera_platform.h b/linux/include/media/soc_camera_platform.h
new file mode 100644
index 000000000..851f18220
--- /dev/null
+++ b/linux/include/media/soc_camera_platform.h
@@ -0,0 +1,15 @@
+#ifndef __SOC_CAMERA_H__
+#define __SOC_CAMERA_H__
+
+#include <linux/videodev2.h>
+
+struct soc_camera_platform_info {
+ int iface;
+ char *format_name;
+ unsigned long format_depth;
+ struct v4l2_pix_format format;
+ unsigned long bus_param;
+ int (*set_capture)(struct soc_camera_platform_info *info, int enable);
+};
+
+#endif /* __SOC_CAMERA_H__ */