aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2008-12-22 16:08:26 -0500
committerArnd Bergmann <arnd@arndb.de>2008-12-22 16:08:26 -0500
commite68558ddcdbfa8cc2e7811bcada3bcbeef79fd4a (patch)
tree1277f8f4cc6bd6f48a56f0dae94f65e81ffec7a8 /arch/powerpc
parent418441d9ebe84b205cb23eb0ab214c1f991621fe (diff)
powerpc/cell: fix build breakage with CONFIG_SPUFS disabled
CBE_THERM and OPROFILE_CELL both cannot be built without SPU_FS disabled, so make the dependency explicit. Reported-by: Milton Miller <miltonm@bga.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/platforms/cell/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/cell/Kconfig b/arch/powerpc/platforms/cell/Kconfig
index c14d7d8d96c8..617f84547b30 100644
--- a/arch/powerpc/platforms/cell/Kconfig
+++ b/arch/powerpc/platforms/cell/Kconfig
@@ -102,7 +102,7 @@ config PPC_IBM_CELL_POWERBUTTON
102config CBE_THERM 102config CBE_THERM
103 tristate "CBE thermal support" 103 tristate "CBE thermal support"
104 default m 104 default m
105 depends on CBE_RAS 105 depends on CBE_RAS && SPU_BASE
106 106
107config CBE_CPUFREQ 107config CBE_CPUFREQ
108 tristate "CBE frequency scaling" 108 tristate "CBE frequency scaling"
@@ -136,5 +136,5 @@ endmenu
136 136
137config OPROFILE_CELL 137config OPROFILE_CELL
138 def_bool y 138 def_bool y
139 depends on PPC_CELL_NATIVE && (OPROFILE = m || OPROFILE = y) 139 depends on PPC_CELL_NATIVE && (OPROFILE = m || OPROFILE = y) && SPU_BASE
140 140