summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorJonathan Corbet2011-06-11 19:46:42 +0200
committerMauro Carvalho Chehab2011-07-27 22:53:00 +0200
commitf8fc729870ee82662ae6e3a713d59b2fbf3b04c6 (patch)
tree84c00d006269c28e0799a2ca6c2823b81cb1e3d2 /include/media
parent[media] DocBook: Use base64 for gif/png files (diff)
downloadkernel-qcow2-linux-f8fc729870ee82662ae6e3a713d59b2fbf3b04c6.tar.gz
kernel-qcow2-linux-f8fc729870ee82662ae6e3a713d59b2fbf3b04c6.tar.xz
kernel-qcow2-linux-f8fc729870ee82662ae6e3a713d59b2fbf3b04c6.zip
[media] marvell-cam: Move cafe-ccic into its own directory
This driver will soon become a family of drivers, so let's give it its own place to live. This move requires putting ov7670.h into include/media, but there are no code changes. Cc: Daniel Drake <dsd@laptop.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/ov7670.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/media/ov7670.h b/include/media/ov7670.h
new file mode 100644
index 000000000000..b133bc123031
--- /dev/null
+++ b/include/media/ov7670.h
@@ -0,0 +1,20 @@
+/*
+ * A V4L2 driver for OmniVision OV7670 cameras.
+ *
+ * Copyright 2010 One Laptop Per Child
+ *
+ * This file may be distributed under the terms of the GNU General
+ * Public License, version 2.
+ */
+
+#ifndef __OV7670_H
+#define __OV7670_H
+
+struct ov7670_config {
+ int min_width; /* Filter out smaller sizes */
+ int min_height; /* Filter out smaller sizes */
+ int clock_speed; /* External clock speed (MHz) */
+ bool use_smbus; /* Use smbus I/O instead of I2C */
+};
+
+#endif