diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2014-09-18 11:09:49 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-10-23 13:58:05 -0400 |
commit | 39a595935576cd56e3974830f6114e1a70bac65d (patch) | |
tree | 0fb3be210fa25d3ac1f3449e3087897086d606b9 /arch/mips | |
parent | 9d26024c964718c6307a96f387b24fc06dac4d91 (diff) |
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 <markos.chandras@imgtec.com>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/7798/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index ad6badb6be71..f43aa536c517 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -2066,6 +2066,7 @@ config MIPS_CPS | |||
2066 | support is unavailable. | 2066 | support is unavailable. |
2067 | 2067 | ||
2068 | config MIPS_CPS_PM | 2068 | config MIPS_CPS_PM |
2069 | depends on MIPS_CPS | ||
2069 | select MIPS_CPC | 2070 | select MIPS_CPC |
2070 | bool | 2071 | bool |
2071 | 2072 | ||