From: Arnd Bergmann Date: Mon, 22 Dec 2008 21:08:26 +0000 (+0100) Subject: powerpc/cell: fix build breakage with CONFIG_SPUFS disabled X-Git-Tag: v2.6.29-rc1~574^2~14 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e68558ddcdbfa8cc2e7811bcada3bcbeef79fd4a;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Arnd Bergmann --- diff --git a/arch/powerpc/platforms/cell/Kconfig b/arch/powerpc/platforms/cell/Kconfig index c14d7d8d96c..617f84547b3 100644 --- a/arch/powerpc/platforms/cell/Kconfig +++ b/arch/powerpc/platforms/cell/Kconfig @@ -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