From: Randy Dunlap <rdunlap@xenotime.net>
To: Daniel Drake <dsd@laptop.org>
Cc: hpa@zytor.com, linux-kernel@vger.kernel.org,
Andres Salomon <dilinger@queued.net>,
tglx@linutronix.de, x86@kernel.org
Subject: Re: OLPC power management patches - merge for 3.1?
Date: Sun, 24 Jul 2011 10:13:23 -0700 [thread overview]
Message-ID: <20110724101323.d5c9bc5a.rdunlap@xenotime.net> (raw)
In-Reply-To: <CAGq3pz6L5VzYaGBN8Py3x9s-orAp9AoG1OMM=1p8KJ1b3TVR6Q@mail.gmail.com>
On Sun, 24 Jul 2011 09:59:20 +0100 Daniel Drake wrote:
> On 24 July 2011 04:20, Randy Dunlap <rdunlap@xenotime.net> wrote:
> > I have no objection to merging OLPC patches, but they should build
> > without errors.
>
> Agreed! Thanks for reporting the issue.
>
> > Looks like this problem is caused by:
> >
> > config OLPC_XO1_SCI
> > bool "OLPC XO-1 SCI extras"
> > depends on OLPC && OLPC_XO1_PM && POWER_SUPPLY
> >
> > or
> > config OLPC_XO15_SCI
> > bool "OLPC XO-1.5 SCI extras"
> > depends on OLPC && ACPI && POWER_SUPPLY
> >
> > In both cases, the 'bool' depends on one or more tristate symbols, so
> > the tristates are satisfied if they are =m or =y. This should work fine
> > if these kconfig symbols (listed above) were tristate instead of bool.
>
> In this case, we do need them to be bool options. At least for now. We
> tried for a modular design earlier in the review process but it added
> too much complexity.
>
> So, whats the best way to fix the Kconfig? Should we:
If I knew a good solution, I would have posted it.
> depends on POWER_SUPPLY=y
You could do that.
> or
>
> depends on POWER_SUPPLY
> select POWER_SUPPLY
>
> ?
You can't do both of those AFAIK -- and it already depends on POWER_SUPPLY.
I guess you could remove "depends on POWER_SUPPLY" and add "select POWER_SUPPLY".
I'll see if that works.
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
next prev parent reply other threads:[~2011-07-24 17:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-23 22:44 Daniel Drake
2011-07-24 3:20 ` Randy Dunlap
2011-07-24 8:59 ` Daniel Drake
2011-07-24 17:13 ` Randy Dunlap [this message]
2011-07-24 17:16 ` Daniel Drake
2011-07-24 17:33 ` Randy Dunlap
2011-07-24 17:23 ` Andres Salomon
2011-07-24 7:27 ` Ingo Molnar
2011-07-24 8:55 ` Daniel Drake
2011-07-24 10:18 ` Ingo Molnar
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=20110724101323.d5c9bc5a.rdunlap@xenotime.net \
--to=rdunlap@xenotime.net \
--cc=dilinger@queued.net \
--cc=dsd@laptop.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=x86@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
all inboxes | Powered by JetHome®