summaryrefslogtreecommitdiffstats
path: root/include/linux/videodev2.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-09-10 12:01:19 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-09-10 13:45:55 -0300
commit8a905162e038367503bac732bf1e3e01c19158b9 (patch)
treebf72a91df67baf47560812ceb756d1a19eb289c7 /include/linux/videodev2.h
parentc663155c3db58d1fff43a105eb5a0e9147ec2a6b (diff)
downloadblackbird-obmc-linux-8a905162e038367503bac732bf1e3e01c19158b9.tar.gz
blackbird-obmc-linux-8a905162e038367503bac732bf1e3e01c19158b9.zip
V4L/DVB (4605): Fixes an issue with V4L1 and make headers-install
V4L1 support should be disabled when no CONFIG_VIDEO_V4L1_COMPAT is defined, to allow checking for broken V4L2 ports. This is very important during the migration phase for V4L2 API. However, userspace apps should be capable of using both APIs, since they need to test at runtime, via VIDIOCGCAP ioctl, if V4L1 is supported. So, when __KERNEL__ is not defined, those ioctls and corresponding structs should be visible. This patch also removes the obsolete defines HAVE_V4L1 and HAVE_V4L2, that where causing some confusion, and were replaced by CONFIG_VIDEO_V4L1_COMPAT and CONFIG_VIDEO_V4L2. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include/linux/videodev2.h')
-rw-r--r--include/linux/videodev2.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
index b7146956a929..e3715d774197 100644
--- a/include/linux/videodev2.h
+++ b/include/linux/videodev2.h
@@ -22,8 +22,6 @@
#endif
#include <linux/types.h>
-#define HAVE_V4L2 1
-
/*
* Common stuff for both V4L1 and V4L2
* Moved from videodev.h
OpenPOWER on IntegriCloud