summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-11-04 10:01:45 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-11-04 10:01:45 -0300
commit3ccfc5b68eae5bd3cc527901249110598b033501 (patch)
tree2693c0a140fbcfcc948aa7eea3169231847076db /linux
parentd9b0c371afc00c929e543dcc3da27573105bf306 (diff)
downloadmediapointer-dvb-s2-3ccfc5b68eae5bd3cc527901249110598b033501.tar.gz
mediapointer-dvb-s2-3ccfc5b68eae5bd3cc527901249110598b033501.tar.bz2
Make ov7670 and cafe_ccic compile at v4l-dvb tree
From: Mauro Carvalho Chehab <mchehab@infradead.org> Those driver are developed using some stuff from newer kernels. Maybe they may compile with kernels lower than 2.6.19, but upper than 2.6.16. Anyway,since the targeted OLPC hardware is not available yet, IMO, it doesn't make much sense to work on backporting the drivers to kernels lower than kernel 2.6.19. CC: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/cafe_ccic.c1
-rw-r--r--linux/drivers/media/video/ov7670.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cafe_ccic.c b/linux/drivers/media/video/cafe_ccic.c
index d5cc93c87..02079a003 100644
--- a/linux/drivers/media/video/cafe_ccic.c
+++ b/linux/drivers/media/video/cafe_ccic.c
@@ -21,6 +21,7 @@
#include <linux/interrupt.h>
#include <linux/spinlock.h>
#include <linux/videodev2.h>
+#include "compat.h"
#include <media/v4l2-common.h>
#include <linux/device.h>
#include <linux/wait.h>
diff --git a/linux/drivers/media/video/ov7670.c b/linux/drivers/media/video/ov7670.c
index deb6e5a3f..f7f340858 100644
--- a/linux/drivers/media/video/ov7670.c
+++ b/linux/drivers/media/video/ov7670.c
@@ -14,6 +14,7 @@
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/videodev.h>
+#include "compat.h"
#include <media/v4l2-common.h>
#include <linux/i2c.h>