Skip to content

Commit

Permalink
powerpc/cell: fix build breakage with CONFIG_SPUFS disabled
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arnd Bergmann committed Dec 22, 2008
1 parent 418441d commit e68558d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/powerpc/platforms/cell/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ config PPC_IBM_CELL_POWERBUTTON
config CBE_THERM
tristate "CBE thermal support"
default m
depends on CBE_RAS
depends on CBE_RAS && SPU_BASE

config CBE_CPUFREQ
tristate "CBE frequency scaling"
Expand Down Expand Up @@ -136,5 +136,5 @@ endmenu

config OPROFILE_CELL
def_bool y
depends on PPC_CELL_NATIVE && (OPROFILE = m || OPROFILE = y)
depends on PPC_CELL_NATIVE && (OPROFILE = m || OPROFILE = y) && SPU_BASE

0 comments on commit e68558d

Please sign in to comment.