[PATCH 8/9] ARM: EXYNOS: suspend requires regulator access
Arnd Bergmann
arnd at arndb.de
Mon Mar 2 13:28:58 PST 2015
Building an exynos kernel without regulators but with suspend enabled results
in a link error:
arch/arm/mach-exynos/built-in.o: In function `exynos_suspend_finish':
arch/arm/mach-exynos/suspend.c:532: undefined reference to `regulator_suspend_finish'
arch/arm/mach-exynos/built-in.o: In function `exynos_suspend_prepare':
arch/arm/mach-exynos/suspend.c:515: undefined reference to `regulator_suspend_prepare'
This adds an appropriate 'select' statement in Kconfig to ensure the symbols
are available.
Signed-off-by: Arnd Bergmann <arnd at arndb.de>
---
arch/arm/mach-exynos/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
index 603820e5aba7..f4bd06370ad8 100644
--- a/arch/arm/mach-exynos/Kconfig
+++ b/arch/arm/mach-exynos/Kconfig
@@ -22,6 +22,7 @@ menuconfig ARCH_EXYNOS
select PINCTRL
select PINCTRL_EXYNOS
select PM_GENERIC_DOMAINS if PM
+ select REGULATOR if PM_SLEEP
select S5P_DEV_MFC
select SRAM
select MFD_SYSCON
--
2.1.0.rc2
More information about the linux-arm-kernel
mailing list