public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Stas Sergeev <stsp@aknet.ru>
To: Andrew Morton <akpm@osdl.org>
Cc: Linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.18-rc2-mm1 (fails without CONFIG_VIDEO_V4L1_COMPAT)
Date: Sun, 30 Jul 2006 14:43:23 +0400	[thread overview]
Message-ID: <44CC8D4B.3070800@aknet.ru> (raw)

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

                 reply	other threads:[~2006-07-30 10:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44CC8D4B.3070800@aknet.ru \
    --to=stsp@aknet.ru \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox