MIPS: pm-cps: Select CONFIG_MIPS_CPC
authorPaul Burton <paul.burton@imgtec.com>
Wed, 9 Jul 2014 11:48:19 +0000 (12:48 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 30 Jul 2014 18:48:00 +0000 (20:48 +0200)
The pm-cps code can run without a CPC, although will be limited to using
only the 2 wait idle states. However the code does check for CPC
presence, and in order to work optimally the CPC support is needed. So
select it.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Reviewed-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7279/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig

index b50a1b00b68fc97b25d22ad124b98646bf8d02e2..f0ee39b147cdec5520054be817948544518383a3 100644 (file)
@@ -2059,6 +2059,7 @@ config MIPS_CPS
          support is unavailable.
 
 config MIPS_CPS_PM
+       select MIPS_CPC
        bool
 
 config MIPS_GIC_IPI