aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/v4l2-i2c-drv.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-10-13 06:38:03 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-17 16:20:20 -0400
commit7b31b57a37ab694b9693a0359bf8ed0967188533 (patch)
treed8733e2944bfe219f19aaf9f99f5b33806299ff0 /include/media/v4l2-i2c-drv.h
parent23848b655ab5fc2fe88ef99e90ad8e4c41304d76 (diff)
V4L/DVB (9209): v4l2: add comment to the v4l2-i2c-drv headers.
Looking at these headers as they appear in the kernel makes you wonder why it is done that way. Refer to the v4l-dvb repository where the full unstripped header can be found to understand the reasoning behind this. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/v4l2-i2c-drv.h')
-rw-r--r--include/media/v4l2-i2c-drv.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/media/v4l2-i2c-drv.h b/include/media/v4l2-i2c-drv.h
index 40ecef29801d..efdc8bf27f87 100644
--- a/include/media/v4l2-i2c-drv.h
+++ b/include/media/v4l2-i2c-drv.h
@@ -21,6 +21,17 @@
21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 */ 22 */
23 23
24/* NOTE: the full version of this header is in the v4l-dvb repository
25 * and allows v4l i2c drivers to be compiled on older kernels as well.
26 * The version of this header as it appears in the kernel is a stripped
27 * version (without all the backwards compatibility stuff) and so it
28 * looks a bit odd.
29 *
30 * If you look at the full version then you will understand the reason
31 * for introducing this header since you really don't want to have all
32 * the tricky backwards compatibility code in each and every i2c driver.
33 */
34
24#ifndef __V4L2_I2C_DRV_H__ 35#ifndef __V4L2_I2C_DRV_H__
25#define __V4L2_I2C_DRV_H__ 36#define __V4L2_I2C_DRV_H__
26 37