summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2007-04-27 15:52:43 +1000
committerPaul Mackerras <paulus@samba.org>2007-04-30 11:02:03 +1000
commitc146c958dc953da172231577d7ee81cf06d7eeb4 (patch)
treef15b17f8bba1940a82a28f6bf2d28105a04cfda7 /arch
parente089ad46dbede9eed650f12d039d1addc05adf43 (diff)
downloadlinux-3.10-c146c958dc953da172231577d7ee81cf06d7eeb4.tar.gz
linux-3.10-c146c958dc953da172231577d7ee81cf06d7eeb4.tar.bz2
linux-3.10-c146c958dc953da172231577d7ee81cf06d7eeb4.zip
[POWERPC] Clean up cpufreq Kconfig dependencies
Shuffle Kconfig order, making the platform drivers menu depend on the global option instead of each driver being dependent on it. Also fix dependency of PPC_PMAC on the G5 one. Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/platforms/Kconfig12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig
index 102a44e3b7e..51e33347c14 100644
--- a/arch/powerpc/platforms/Kconfig
+++ b/arch/powerpc/platforms/Kconfig
@@ -148,14 +148,14 @@ config GENERIC_IOMAP
bool
default n
-menu "CPU Frequency support"
- depends on PPC64 || CLASSIC32
-
source "drivers/cpufreq/Kconfig"
+menu "CPU Frequency drivers"
+ depends on CPU_FREQ
+
config CPU_FREQ_PMAC
bool "Support for Apple PowerBooks"
- depends on CPU_FREQ && ADB_PMU && PPC32
+ depends on ADB_PMU && PPC32
select CPU_FREQ_TABLE
help
This adds support for frequency switching on Apple PowerBooks,
@@ -164,7 +164,7 @@ config CPU_FREQ_PMAC
config CPU_FREQ_PMAC64
bool "Support for some Apple G5s"
- depends on CPU_FREQ && PPC64
+ depends on PPC_PMAC && PPC64
select CPU_FREQ_TABLE
help
This adds support for frequency switching on Apple iMac G5,
@@ -172,7 +172,7 @@ config CPU_FREQ_PMAC64
config PPC_PASEMI_CPUFREQ
bool "Support for PA Semi PWRficient"
- depends on CPU_FREQ && PPC_PASEMI
+ depends on PPC_PASEMI
default y
select CPU_FREQ_TABLE
help