linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc/cell: fix dependency in cpufreq
@ 2009-02-10  0:46 Michael Neuling
  2009-02-10  1:01 ` Michael Ellerman
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Neuling @ 2009-02-10  0:46 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: linuxppc-dev

cbe_cpufreq.c uses cbe_cpufreq_has_pmi which is provided by
cbe_cpufreq_pmi.c.  Hence CBE_CPUFREQ depends on CBE_CPUFREQ_PMI.

Signed-off-by: Michael Neuling <mikey@neuling.org>
---
I'm not 100% sure is this the right fix.  Should CBE_CPUFREQ really
depend on CBE_CPUFREQ_PMI?

 arch/powerpc/platforms/cell/Kconfig |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: linux-2.6-ozlabs/arch/powerpc/platforms/cell/Kconfig
===================================================================
--- linux-2.6-ozlabs.orig/arch/powerpc/platforms/cell/Kconfig
+++ linux-2.6-ozlabs/arch/powerpc/platforms/cell/Kconfig
@@ -111,7 +111,7 @@ config CBE_THERM
 
 config CBE_CPUFREQ
 	tristate "CBE frequency scaling"
-	depends on CBE_RAS && CPU_FREQ
+	depends on CBE_RAS && CPU_FREQ && CBE_CPUFREQ_PMI
 	default m
 	help
 	  This adds the cpufreq driver for Cell BE processors.
@@ -120,7 +120,7 @@ config CBE_CPUFREQ
 
 config CBE_CPUFREQ_PMI
 	tristate "CBE frequency scaling using PMI interface"
-	depends on CBE_CPUFREQ && PPC_PMI && EXPERIMENTAL
+	depends on PPC_PMI && EXPERIMENTAL
 	default n
 	help
 	  Select this, if you want to use the PMI interface

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-02-10 22:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-10  0:46 [PATCH] powerpc/cell: fix dependency in cpufreq Michael Neuling
2009-02-10  1:01 ` Michael Ellerman
2009-02-10  1:48   ` Michael Neuling
2009-02-10  2:01     ` Michael Neuling
2009-02-10 15:55       ` Arnd Bergmann
2009-02-10 22:27         ` Michael Neuling
2009-02-10  6:51     ` Michael Neuling

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).