lkml.org 
[lkml]   [2006]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.6.18-rc2-mm1 (fails without CONFIG_VIDEO_V4L1_COMPAT)
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 <stsp@aknet.ru>

--- 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 */

/*
\
 
 \ /
  Last update: 2006-07-30 12:43    [W:0.035 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site