public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: 2.6.18-rc2-mm1 (fails without CONFIG_VIDEO_V4L1_COMPAT)
@ 2006-07-30 10:43 Stas Sergeev
  0 siblings, 0 replies; only message in thread
From: Stas Sergeev @ 2006-07-30 10:43 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Linux kernel

[-- Attachment #1: Type: text/plain, Size: 289 bytes --]

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>


[-- Attachment #2: vidfix.diff --]
[-- Type: text/x-patch, Size: 441 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-07-30 10:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-30 10:43 2.6.18-rc2-mm1 (fails without CONFIG_VIDEO_V4L1_COMPAT) Stas Sergeev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox