Messages in this thread Patch in this message | | | Date | Sun, 30 Jul 2006 14:43:23 +0400 | From | Stas Sergeev <> | Subject | Re: 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 */ /* | |