mirror of
https://github.com/torvalds/linux.git
synced 2026-12-04 04:14:24 +00:00
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 <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
This commit is contained in:
@@ -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"
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user