From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: cheng renquan <crquan@gmail.com>
Cc: linux-media@vger.kernel.org,
Mauro Carvalho Chehab <mchehab@infradead.org>,
VDR User <user.vdr@gmail.com>
Subject: Re: [PATCH] make VIDEO_MEDIA depends on DVB_CORE only (removing depends VIDEO_DEV)
Date: Mon, 18 Jun 2012 20:01:09 -0300 [thread overview]
Message-ID: <4FDFB335.2070503@redhat.com> (raw)
In-Reply-To: <CAH5vBdLM4SnXcj7+5+qUXeWRhp4J=kp_V0eSBXMJVMORPd690Q@mail.gmail.com>
Em 07-06-2012 22:55, cheng renquan escreveu:
> I think the root cause is VIDEO_MEDIA depending on VIDEO_DEV or DVB_CORE;
> since MEDIA_TUNER is depending on VIDEO_MEDIA;
> I have VIDEO_DEV but not DVB_CORE, hence should be no VIDEO_MEDIA,
>
> config MEDIA_TUNER
> tristate
> default VIDEO_MEDIA && I2C
> depends on VIDEO_MEDIA && I2C
>
>
> diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
> index 9575db4..1b35dae 100644
> --- a/drivers/media/Kconfig
> +++ b/drivers/media/Kconfig
> @@ -99,7 +99,7 @@ config DVB_NET
>
> config VIDEO_MEDIA
> tristate
> - default (DVB_CORE && (VIDEO_DEV = n)) || (VIDEO_DEV && (DVB_CORE =
> n)) || (DVB_CORE && VIDEO_DEV)
> + default DVB_CORE
Sorry, but this is wrong and will break compilation for analog drivers.
I think my RFC patches should fix this issue[1] and [2]. If not, they will at the final
version, after removing drivers/media/video and drivers/media/dvb, and
re-writing the dependency chain (planned as part 2 and 3 of my patch series).
[1] http://www.spinics.net/lists/linux-media/msg48451.html
[2] http://www.spinics.net/lists/linux-media/msg48974.html
Regards,
Mauro
>
> comment "Multimedia drivers"
>
>
> On Thu, Jun 7, 2012 at 4:09 PM, VDR User <user.vdr@gmail.com> wrote:
>> On Thu, Jun 7, 2012 at 2:53 PM, cheng renquan <crquan@gmail.com> wrote:
>>> till recently I found that also chosen those media tuner modules,
>>>
>>> $ grep MEDIA_TUNER /boot/config
>>> CONFIG_MEDIA_TUNER=m
>>> # CONFIG_MEDIA_TUNER_CUSTOMISE is not set
>>> CONFIG_MEDIA_TUNER_SIMPLE=m
>>> CONFIG_MEDIA_TUNER_TDA8290=m
>>> CONFIG_MEDIA_TUNER_TDA827X=m
>>> CONFIG_MEDIA_TUNER_TDA18271=m
>>> CONFIG_MEDIA_TUNER_TDA9887=m
>>> CONFIG_MEDIA_TUNER_TEA5761=m
>>> CONFIG_MEDIA_TUNER_TEA5767=m
>>> CONFIG_MEDIA_TUNER_MT20XX=m
>>> CONFIG_MEDIA_TUNER_XC2028=m
>>> CONFIG_MEDIA_TUNER_XC5000=m
>>> CONFIG_MEDIA_TUNER_XC4000=m
>>> CONFIG_MEDIA_TUNER_MC44S803=m
>>>
>>> as I understand, MEDIA_TUNER is for some tv adapters but I don't have
>>> such hardware,
>>> to disable them I need to enable MEDIA_TUNER_CUSTOMISE, then
>>> a menu "Customize TV tuners" becomes visible then I need to enter that
>>> menu and disable all the tuners one-by-one;
>>> this looks not convenient,
>>
>> I hate that too so you're not alone. I've just gotten into the habit
>> of having to manually disabling everything I don't need as opposed to
>> only needing to enable what I do need. :\
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
prev parent reply other threads:[~2012-06-18 23:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-08 1:55 [PATCH] make VIDEO_MEDIA depends on DVB_CORE only (removing depends VIDEO_DEV) cheng renquan
2012-06-18 23:01 ` Mauro Carvalho Chehab [this message]
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=4FDFB335.2070503@redhat.com \
--to=mchehab@redhat.com \
--cc=crquan@gmail.com \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@infradead.org \
--cc=user.vdr@gmail.com \
/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.