mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kumar Gala <galak@kernel.crashing.org>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: "Simon Horman" <horms@verge.net.au>,
	"Timur Tabi" <timur@freescale.com>,
	"Kim Phillips" <kim.phillips@freescale.com>,
	linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
	"Ismail Dönmez" <ismail@pardus.org.tr>,
	"Michael Schmitz" <schmitz@debian.org>,
	"Roman Zippel" <zippel@linux-m68k.org>,
	"Geert Uytterhoeven" <geert@linux-m68k.org>,
	"Benjamin Herrenschmidt" <benh@kernel.crashing.org>,
	"Paul Mackerras" <paulus@samba.org>,
	"Ralf Baechle" <ralf@linux-mips.org>
Subject: Re: Kconfig warnings on latest GIT
Date: Mon, 14 May 2007 09:24:43 -0500 (CDT)	[thread overview]
Message-ID: <Pine.LNX.4.64.0705140923470.24559@gate.crashing.org> (raw)
In-Reply-To: <1179147311.2647.47.camel@johannes.berg>

On Mon, 14 May 2007, Johannes Berg wrote:

> Simon,
>
> > I don't think that this is quite right, or at least it isn't quite the
> > same as before.
>
> Yeah, I think you're right.
>
> >  I think that was is below will toggle
> > SYS_SUPPORTS_APM_EMULATION when PMAC_APM_EMU is selected,
> > which I think is what you want. Is it also neccessary to
> > add a dependancy on PPC_PMAC to PMAC_APM_EMU ?
>
> No, it depends on ADB_PMU which depends on PPC_PMAC.
>
> > config PMAC_APM_EMU
> > 	tristate "APM emulation"
> > 	select APM_EMULATION
> > 	depends on ADB_PMU && PM
> >
> > config SYS_SUPPORTS_APM_EMULATION
> > 	bool
> > 	default y if PMAC_APM_EMU
>
> I still have to try it, I haven't been yet seen Kumar's fix that he said
> he'd done.
>
> johannes

this was my fix which looks pretty much the same.

- k

diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index ccc5410..af70799 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -118,6 +118,7 @@ config GENERIC_BUG
 	depends on BUG

 config SYS_SUPPORTS_APM_EMULATION
+	default y if PMAC_APM_EMU
 	bool

 config DEFAULT_UIMAGE
diff --git a/drivers/macintosh/Kconfig b/drivers/macintosh/Kconfig
index 58926da..f44c94a 100644
--- a/drivers/macintosh/Kconfig
+++ b/drivers/macintosh/Kconfig
@@ -113,7 +113,6 @@ config PMAC_SMU

 config PMAC_APM_EMU
 	tristate "APM emulation"
-	select SYS_SUPPORTS_APM_EMULATION
 	select APM_EMULATION
 	depends on ADB_PMU && PM


  reply	other threads:[~2007-05-14 14:28 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-07 21:04 Ismail Dönmez
2007-05-08 19:31 ` Kim Phillips
2007-05-08 20:11   ` Timur Tabi
2007-05-10  5:10     ` Simon Horman
2007-05-10 15:39       ` Johannes Berg
2007-05-11  1:22         ` Simon Horman
2007-05-11 11:45           ` Johannes Berg
2007-05-14  1:32             ` Simon Horman
2007-05-14 12:55               ` Johannes Berg
2007-05-14 14:24                 ` Kumar Gala [this message]
2007-05-14 16:25                   ` Johannes Berg
2007-05-23 12:37                     ` Kumar Gala
2007-05-23 13:57                       ` Johannes Berg
2007-05-23 14:14                         ` Kumar Gala
2007-05-23 14:26                           ` Johannes Berg
2007-05-10 16:56       ` Timur Tabi
2007-05-11  1:25         ` Simon Horman
2007-05-11  1:41           ` Kumar Gala
2007-05-11  1:47           ` Kumar Gala
2007-05-11  2:05             ` Simon Horman
2007-05-11  2:13               ` Kumar Gala
2007-05-11  2:27                 ` Simon Horman
2007-05-11  2:32                   ` Timur Tabi
2007-05-11  3:08                   ` Simon Horman
2007-05-11  7:43             ` Russell King
2007-05-11 12:38               ` Timur Tabi

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=Pine.LNX.4.64.0705140923470.24559@gate.crashing.org \
    --to=galak@kernel.crashing.org \
    --cc=benh@kernel.crashing.org \
    --cc=geert@linux-m68k.org \
    --cc=horms@verge.net.au \
    --cc=ismail@pardus.org.tr \
    --cc=johannes@sipsolutions.net \
    --cc=kim.phillips@freescale.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=paulus@samba.org \
    --cc=ralf@linux-mips.org \
    --cc=schmitz@debian.org \
    --cc=timur@freescale.com \
    --cc=zippel@linux-m68k.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®