MIPS: Kconfig: Add missing MIPS_CPS dependencies to PM and cpuidle
authorMarkos Chandras <[email protected]>
Thu, 18 Sep 2014 15:09:49 +0000 (16:09 +0100)
committerRalf Baechle <[email protected]>
Thu, 23 Oct 2014 17:58:05 +0000 (19:58 +0200)
commit39a595935576cd56e3974830f6114e1a70bac65d
tree0fb3be210fa25d3ac1f3449e3087897086d606b9
parent9d26024c964718c6307a96f387b24fc06dac4d91
MIPS: Kconfig: Add missing MIPS_CPS dependencies to PM and cpuidle

The MIPS_CPS_PM and MIPS_CPS_CPUIDLE implementation should depend
on the MIPS_CPS symbol to avoid the following build problem

arch/mips/kernel/pm-cps.c: In function 'cps_pm_enter_state':
arch/mips/kernel/pm-cps.c:164:26: error: 'cpu_coherent_mask' undeclared
(first use in this function)
cpumask_clear_cpu(cpu, &cpu_coherent_mask);
                            ^
Signed-off-by: Markos Chandras <[email protected]>
Cc: Paul Burton <[email protected]>
Cc: [email protected]
Patchwork: http://patchwork.linux-mips.org/patch/7798/
Signed-off-by: Ralf Baechle <[email protected]>
arch/mips/Kconfig
drivers/cpuidle/Kconfig.mips