aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-02-05 09:26:26 -0500
committerArnd Bergmann <arnd@arndb.de>2015-02-18 06:20:30 -0500
commitd1bef995f61a6505a2ac69257b44fb9c59715953 (patch)
tree4ed48ba20f4bf313a8de223df1f953e768b22fb5 /arch
parent165235180ff61f0012ea68a299e46daec43dcaa7 (diff)
ARM: rockchip: force built-in regulator support for PM
The rockchips suspend/resume code requires regulators to work, and gives a compile-time error if they are not available: arch/arm/mach-rockchip/built-in.o: In function `rk3288_suspend_finish': :(.text+0x146): undefined reference to `regulator_suspend_finish' arch/arm/mach-rockchip/built-in.o: In function `rk3288_suspend_prepare': :(.text+0x18e): undefined reference to `regulator_suspend_prepare' To solve this, we now enable regulators whenever they are needed, which is what we do on a lot of other platforms as well. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-rockchip/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
index 5078932c1683..ae4eb7cc4bcc 100644
--- a/arch/arm/mach-rockchip/Kconfig
+++ b/arch/arm/mach-rockchip/Kconfig
@@ -11,6 +11,7 @@ config ARCH_ROCKCHIP
11 select HAVE_ARM_SCU if SMP 11 select HAVE_ARM_SCU if SMP
12 select HAVE_ARM_TWD if SMP 12 select HAVE_ARM_TWD if SMP
13 select DW_APB_TIMER_OF 13 select DW_APB_TIMER_OF
14 select REGULATOR if PM
14 select ROCKCHIP_TIMER 15 select ROCKCHIP_TIMER
15 select ARM_GLOBAL_TIMER 16 select ARM_GLOBAL_TIMER
16 select CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK 17 select CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK