summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tda8290.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-12-11 18:11:56 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-12-11 18:11:56 +0000
commitc652e86c520a930ce138a26e8b3a1008c12831d4 (patch)
tree95c479d6868dff609f714883a3f36168a3e6a9d9 /linux/drivers/media/video/tda8290.c
parent2ac4714c81661373de42c676440c324fac6752fb (diff)
downloadmediapointer-dvb-s2-c652e86c520a930ce138a26e8b3a1008c12831d4.tar.gz
mediapointer-dvb-s2-c652e86c520a930ce138a26e8b3a1008c12831d4.tar.bz2
Makes v4l compile under 2.4 kernels
From: Mauro Carvalho Chehab <mchehab@brturbo.com.br> kernel-sync - Makes V4L compile with kernel 2.4 - em28xx doesn't compile with 2.4 kernels. Additional work is necessary to make it compile. Thanks-to: Stefan Leichter <Stefan.Leichter@camLine.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media/video/tda8290.c')
-rw-r--r--linux/drivers/media/video/tda8290.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/linux/drivers/media/video/tda8290.c b/linux/drivers/media/video/tda8290.c
index 80538b4d2..5f138d934 100644
--- a/linux/drivers/media/video/tda8290.c
+++ b/linux/drivers/media/video/tda8290.c
@@ -1,5 +1,5 @@
/*
- $Id: tda8290.c,v 1.30 2005/11/16 20:00:59 mchehab Exp $
+ $Id: tda8290.c,v 1.31 2005/12/11 18:11:56 mchehab Exp $
i2c tv tuner chip device driver
controls the philips tda8290+75 tuner chip combo.
@@ -24,6 +24,9 @@
#include <linux/videodev.h>
#include <linux/delay.h>
#include <media/tuner.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
+#include <media/i2c-compat.h>
+#endif
/* ---------------------------------------------------------------------- */