]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
regulator: Fix build breakage on !REGULATOR
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Wed, 4 Feb 2015 10:45:28 +0000 (11:45 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 4 Feb 2015 11:22:21 +0000 (11:22 +0000)
commit509102760da3a21831e763560ba4715760e3fbda
treedfe1cf4441c8a2518f6aaab305289b775ecf54ae
parent83b0302d347a49f951e904184afe57ac3723476e
regulator: Fix build breakage on !REGULATOR

Add missing stubs for regulator_suspend_prepare() and
regulator_suspend_finish() to fix exynos_defconfig build without
REGULATOR:

arch/arm/mach-exynos/built-in.o: In function `exynos_suspend_finish':
arch/arm/mach-exynos/suspend.c:537: undefined reference to `regulator_suspend_finish'
arch/arm/mach-exynos/built-in.o: In function `exynos_suspend_prepare':
arch/arm/mach-exynos/suspend.c:520: undefined reference to `regulator_suspend_prepare'
make: *** [vmlinux] Error 1

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reported-by: Joerg Roedel <joro@8bytes.org>
Reported-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/regulator/machine.h