V4L/DVB (4340): Videodev.h should be included also when V4L1_COMPAT is selected.
authorMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 8 Aug 2006 12:10:01 +0000 (09:10 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 8 Aug 2006 16:54:12 +0000 (13:54 -0300)
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
include/media/v4l2-dev.h

index f866532..600d61d 100644 (file)
@@ -16,7 +16,7 @@
 #include <linux/device.h>
 #include <linux/mutex.h>
 #include <linux/compiler.h> /* need __user */
-#ifdef CONFIG_VIDEO_V4L1
+#ifdef CONFIG_VIDEO_V4L1_COMPAT
 #include <linux/videodev.h>
 #else
 #include <linux/videodev2.h>