diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-04-09 20:43:41 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-05-13 00:54:53 +0200 |
commit | cd41e28e2d0f198ad56840bf8ba13cb41b129bab (patch) | |
tree | a11b7e23c14625a4b019b43eecdc8fff2ee62463 /drivers/media/video/vivi.c | |
parent | V4L/DVB (3767): Pvr350 tv out (saa7127) (diff) | |
download | linux-cd41e28e2d0f198ad56840bf8ba13cb41b129bab.tar.xz linux-cd41e28e2d0f198ad56840bf8ba13cb41b129bab.zip |
V4L/DVB (3774): Create V4L1 config options
V4L1 API is depreciated and should be removed soon from kernel. This patch
adds two new options, one to disable V4L1 drivers, and another to disable
V4L1 compat module. This way, it would be easy to check what still depends
on V4L1 stuff, allowing also to test if app works fine with V4L2 only support.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/vivi.c')
-rw-r--r-- | drivers/media/video/vivi.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/vivi.c b/drivers/media/video/vivi.c index 5e813404d068..9e42224b46b6 100644 --- a/drivers/media/video/vivi.c +++ b/drivers/media/video/vivi.c @@ -26,6 +26,10 @@ #include <linux/random.h> #include <linux/version.h> #include <linux/videodev2.h> +#ifdef CONFIG_VIDEO_V4L1_COMPAT +/* Include V4L1 specific functions. Should be removed soon */ +#include <linux/videodev.h> +#endif #include <linux/interrupt.h> #include <media/video-buf.h> #include <media/v4l2-common.h> |