diff options
author | Mauro Carvalho Chehab <devnull@localhost> | 2005-12-11 18:11:56 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <devnull@localhost> | 2005-12-11 18:11:56 +0000 |
commit | c652e86c520a930ce138a26e8b3a1008c12831d4 (patch) | |
tree | 95c479d6868dff609f714883a3f36168a3e6a9d9 /linux/drivers/media/video/em28xx | |
parent | 2ac4714c81661373de42c676440c324fac6752fb (diff) | |
download | mediapointer-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/em28xx')
-rw-r--r-- | linux/drivers/media/video/em28xx/em28xx-video.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx-video.c b/linux/drivers/media/video/em28xx/em28xx-video.c index bdfa47898..3194f64c0 100644 --- a/linux/drivers/media/video/em28xx/em28xx-video.c +++ b/linux/drivers/media/video/em28xx/em28xx-video.c @@ -33,6 +33,10 @@ #include "em28xx.h" #include <media/tuner.h> #include <media/v4l2-common.h> +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) +#include <media/i2c-compat.h> +#include <linux/moduleparam.h> +#endif #define DRIVER_AUTHOR "Ludovico Cavedon <cavedon@sssup.it>, " \ "Markus Rechberger <mrechberger@gmail.com>, " \ |