powerpc/cell: Fix dependency in cpufreq
authorArnd Bergmann <arnd@arndb.de>
Tue, 10 Feb 2009 05:55:16 +0000 (05:55 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 23 Feb 2009 04:53:02 +0000 (15:53 +1100)
commit6ed8d12849d651c646c108807754a544d2e506f1
treed0dd1acbe601486f5cc035125ba9b763b1cec25f
parent74254647e06452faff3675f9cd347ef2a5d63d90
powerpc/cell: Fix dependency in cpufreq

cbe_cpufreq has a partial dependency on cbe_cpufreq_pmi, which cannot
be easily expressed in Kconfig. This fixes it by introducing an
extra Kconfig symbol CBE_CPUFREQ_PMI_ENABLE. To make the dependency
clearer, turn PPC_PMI into an automatic symbol.

Reported-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/Kconfig
arch/powerpc/platforms/cell/Kconfig