summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-03-10 09:31:34 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 17:43:15 +0200
commit7e0a16f6118a297dd467c1e5a0908429fcdf56af (patch)
tree3b0ffeb932aa6b29d9c9babcba6fc774c470cf29 /include/media
parentV4L/DVB (10870a): remove all references for video_decoder.h (diff)
downloadlinux-7e0a16f6118a297dd467c1e5a0908429fcdf56af.tar.xz
linux-7e0a16f6118a297dd467c1e5a0908429fcdf56af.zip
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')
-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>