mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: "Michał Mirosław" <mirq-linux@rere.qmqm.pl>
Cc: lkml <linux-kernel@vger.kernel.org>,
	akpm <akpm@linux-foundation.org>, Chris Ball <cjb@laptop.org>,
	linux-mmc@vger.kernel.org
Subject: Re: [PATCH -next] mmc: fix cb710 kconfig dependency warning
Date: Thu, 14 Oct 2010 08:46:42 -0700	[thread overview]
Message-ID: <4CB725E2.9020506@oracle.com> (raw)
In-Reply-To: <20101014090442.GA14454@rere.qmqm.pl>

On 10/14/10 02:04, Michał Mirosław wrote:
> On Wed, Oct 13, 2010 at 06:15:19PM -0700, Randy Dunlap wrote:
>> Fix kconfig dependency warning to satisfy dependencies:
>>
>> warning: (MMC_CB710 && MMC && PCI) selects CB710_CORE which has unmet direct dependencies (MISC_DEVICES && PCI)
>>
>> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
>> Cc: <mirq-linux@rere.qmqm.pl>
>> ---
>>  drivers/mmc/host/Kconfig |    2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> --- linux-next-20101013.orig/drivers/mmc/host/Kconfig
>> +++ linux-next-20101013/drivers/mmc/host/Kconfig
>> @@ -394,7 +394,7 @@ config MMC_TMIO
>>  
>>  config MMC_CB710
>>  	tristate "ENE CB710 MMC/SD Interface support"
>> -	depends on PCI
>> +	depends on PCI && MISC_DEVICES
>>  	select CB710_CORE
>>  	help
>>  	  This option enables support for MMC/SD part of ENE CB710/720 Flash
> 
> Is this really necessary? MISC_DEVICES is only a submenu enabler, not
> a real dependency.
> 
> Maybe just select MISC_DEVICES instead? User/developer should not have
> to know that for this specific MMC controller he has to first enable some
> other device burried somewhere in the config tree.

Yes, I'll resubmit using "select".  (like I did with another mmc + memstick patch)

thanks,
-- 
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

  reply	other threads:[~2010-10-14 15:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-14  1:15 Randy Dunlap
2010-10-14  4:19 ` Chris Ball
2010-10-14  9:04 ` Michał Mirosław
2010-10-14 15:46   ` Randy Dunlap [this message]
2010-10-14 18:30   ` [PATCH -next v2] " Randy Dunlap
2010-10-14 19:27     ` Chris Ball
2010-10-14 19:50     ` Michał Mirosław

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=4CB725E2.9020506@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=akpm@linux-foundation.org \
    --cc=cjb@laptop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=mirq-linux@rere.qmqm.pl \
    /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

Powered by JetHome