Re: 2.6.18-rc2-mm1 (fails without CONFIG_VIDEO_V4L1_COMPAT)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

Andrew Morton wrote:
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc2/2.6.18-rc2-mm1/
Cannot be built with CONFIG_VIDEO_DEV without CONFIG_VIDEO_V4L1_COMPAT,
fails on compat_ioctl32.c.
The quick fix is attached.

Signed-off-by: Stas Sergeev <[email protected]>

--- a/include/linux/videodev.h	2006-07-30 13:35:21.000000000 +0400
+++ b/include/linux/videodev.h	2006-07-30 14:32:09.000000000 +0400
@@ -16,6 +16,7 @@
 
 #ifdef CONFIG_VIDEO_V4L1_COMPAT
 #define HAVE_V4L1 1
+#endif /* CONFIG_VIDEO_V4L1_COMPAT */
 
 struct video_capability
 {
@@ -337,8 +338,6 @@
 #define VID_HARDWARE_SN9C102	38
 #define VID_HARDWARE_ARV	39
 
-#endif /* CONFIG_VIDEO_V4L1_COMPAT */
-
 #endif /* __LINUX_VIDEODEV_H */
 
 /*

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux