summaryrefslogtreecommitdiff
path: root/include/media/v4l2-ioctl.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-03-10 11:31:34 +0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 19:43:15 +0400
commit7e0a16f6118a297dd467c1e5a0908429fcdf56af (patch)
tree3b0ffeb932aa6b29d9c9babcba6fc774c470cf29 /include/media/v4l2-ioctl.h
parent42d12f5aa105af08bc0ed0580e32156a1a325c6b (diff)
downloadlinux-7e0a16f6118a297dd467c1e5a0908429fcdf56af.tar.xz
V4L/DVB (10907): avoid loading the entire videodev.h header on V4L2 drivers
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/v4l2-ioctl.h')
-rw-r--r--include/media/v4l2-ioctl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/v4l2-ioctl.h b/include/media/v4l2-ioctl.h
index a8b4c0b678ec..7a4529defa88 100644
--- a/include/media/v4l2-ioctl.h
+++ b/include/media/v4l2-ioctl.h
@@ -15,6 +15,7 @@
#include <linux/mutex.h>
#include <linux/compiler.h> /* need __user */
#ifdef CONFIG_VIDEO_V4L1_COMPAT
+#define __MIN_V4L1
#include <linux/videodev.h>
#else
#include <linux/videodev2.h>