From: Mauro Carvalho Chehab <mchehab@infradead.org>
To: Adrian Bunk <bunk@kernel.org>
Cc: Trent Piepho <xyzzy@speakeasy.org>,
Hans Verkuil <hverkuil@xs4all.nl>,
v4l-dvb-maintainer@linuxtv.org,
Marcin Slusarz <marcin.slusarz@gmail.com>,
linux-kernel@vger.kernel.org
Subject: Re: [v4l-dvb-maintainer] 2.6.25 regression: VIDEO_DEV=y/m, I2C=n compile error
Date: Tue, 29 Jan 2008 14:38:09 -0200 [thread overview]
Message-ID: <20080129143809.30cff2f1@gaivota> (raw)
In-Reply-To: <20080128121245.GG1001@does.not.exist>
On Mon, 28 Jan 2008 14:12:45 +0200
Adrian Bunk <bunk@kernel.org> wrote:
>
> Why does anyone want to introduce such a weird syntax for something
> that already works with the simple
>
> depends on I2C || I2C=n
>
This didn't work.
Something weird is happening here... It seems that "menuconfig I2C" is not
working properly, or maybe I'm blind ;)
I'm trying to generate the patch for fixing this issue. However, every time I
add a dependency for I2C, I got wrong results:
make oldconfig >/dev/null; grep CONFIG_VIDEO_DEV .config; grep CONFIG_I2C= .config; grep CONFIG_VIDEO_V4L2_COMMON .config
CONFIG_VIDEO_DEV=y
CONFIG_I2C=m
CONFIG_VIDEO_V4L2_COMMON=y
---
Trying to isolate the problem, I'm applying this patch to define
CONFIG_VIDEO_V4L2_COMMON:
diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index 8f4a453..20a5d26 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -25,6 +25,11 @@ config VIDEO_DEV
To compile this driver as a module, choose M here: the
module will be called videodev.
+config VIDEO_V4L2_COMMON
+ tristate
+ depends on I2C
+ default y
+
config VIDEO_V4L1
bool "Enable Video For Linux API 1 (DEPRECATED)"
depends on VIDEO_DEV
---
Shouldn't VIDEO_V4L2_COMMON be equal to 'm', due to I2C dependency?
Cheers,
Mauro
next prev parent reply other threads:[~2008-01-29 16:38 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-27 18:52 2.6.25 regression: VIDEO_DEV=y/m, I2C=n compile error Adrian Bunk
2008-01-28 0:33 ` Mauro Carvalho Chehab
2008-01-28 8:40 ` Adrian Bunk
2008-01-28 9:05 ` [v4l-dvb-maintainer] " Trent Piepho
2008-01-28 11:49 ` Mauro Carvalho Chehab
2008-01-28 12:12 ` Adrian Bunk
2008-01-28 12:22 ` Mauro Carvalho Chehab
2008-01-28 12:25 ` Mauro Carvalho Chehab
2008-01-29 16:38 ` Mauro Carvalho Chehab [this message]
2008-01-28 12:17 ` Jan Engelhardt
2008-01-28 12:25 ` Adrian Bunk
2008-02-01 19:24 ` Trent Piepho
2008-01-29 18:42 ` Mauro Carvalho Chehab
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=20080129143809.30cff2f1@gaivota \
--to=mchehab@infradead.org \
--cc=bunk@kernel.org \
--cc=hverkuil@xs4all.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=marcin.slusarz@gmail.com \
--cc=v4l-dvb-maintainer@linuxtv.org \
--cc=xyzzy@speakeasy.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.