summaryrefslogtreecommitdiff
path: root/include/linux/videodev.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/videodev.h')
-rw-r--r--include/linux/videodev.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/videodev.h b/include/linux/videodev.h
index 41bc7e9603cd..8dba97a291f6 100644
--- a/include/linux/videodev.h
+++ b/include/linux/videodev.h
@@ -12,10 +12,10 @@
#ifndef __LINUX_VIDEODEV_H
#define __LINUX_VIDEODEV_H
-#define HAVE_V4L1 1
-
#include <linux/videodev2.h>
+#if defined(CONFIG_VIDEO_V4L1_COMPAT) || !defined (__KERNEL__)
+
struct video_capability
{
char name[32];
@@ -336,6 +336,8 @@ struct video_code
#define VID_HARDWARE_SN9C102 38
#define VID_HARDWARE_ARV 39
+#endif /* CONFIG_VIDEO_V4L1_COMPAT */
+
#endif /* __LINUX_VIDEODEV_H */
/*