summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-09-13 08:34:46 +0400
committerJeff Garzik <jeff@garzik.org>2006-09-13 08:34:46 +0400
commit4291130595065aa3c9fbb9130231f65e4914629a (patch)
tree988be49185231866ac4e42d6154994b244e6f991 /include/linux
parentd3148ce9a65813a8020473739c200cb63036f84c (diff)
parenteff68d452f1a6842fb05218fd93c774ffc4dbc5a (diff)
downloadlinux-4291130595065aa3c9fbb9130231f65e4914629a.tar.xz
Merge branch 'upstream-fixes' into upstream
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/videodev.h3
-rw-r--r--include/linux/videodev2.h2
2 files changed, 1 insertions, 4 deletions
diff --git a/include/linux/videodev.h b/include/linux/videodev.h
index 518c7a32175e..8dba97a291f6 100644
--- a/include/linux/videodev.h
+++ b/include/linux/videodev.h
@@ -14,8 +14,7 @@
#include <linux/videodev2.h>
-#ifdef CONFIG_VIDEO_V4L1_COMPAT
-#define HAVE_V4L1 1
+#if defined(CONFIG_VIDEO_V4L1_COMPAT) || !defined (__KERNEL__)
struct video_capability
{
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