summaryrefslogtreecommitdiff
path: root/linux/include/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-03-10 05:31:34 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-10 05:31:34 -0300
commitea258810bf8de7d5d78d74aafe44e0ea8e7f8783 (patch)
treea75e80be0b2aa5135896dc116d6f60ec7ed6b711 /linux/include/media
parenta5f0c1eb5516fb321c59ba6adb6437288b5b20bf (diff)
downloadmediapointer-dvb-s2-ea258810bf8de7d5d78d74aafe44e0ea8e7f8783.tar.gz
mediapointer-dvb-s2-ea258810bf8de7d5d78d74aafe44e0ea8e7f8783.tar.bz2
avoid loading the entire videodev.h header for drivers that are already V4L2 only
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/include/media')
-rw-r--r--linux/include/media/v4l2-ioctl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/include/media/v4l2-ioctl.h b/linux/include/media/v4l2-ioctl.h
index a8b4c0b67..7a4529def 100644
--- a/linux/include/media/v4l2-ioctl.h
+++ b/linux/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>