ARM: rockchip: force built-in regulator support for PM
authorArnd Bergmann <arnd@arndb.de>
Thu, 5 Feb 2015 14:26:26 +0000 (15:26 +0100)
committerArnd Bergmann <arnd@arndb.de>
Wed, 18 Feb 2015 11:20:30 +0000 (12:20 +0100)
commitd1bef995f61a6505a2ac69257b44fb9c59715953
tree4ed48ba20f4bf313a8de223df1f953e768b22fb5
parent165235180ff61f0012ea68a299e46daec43dcaa7
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>
arch/arm/mach-rockchip/Kconfig