From patchwork Mon Mar 2 21:28:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 5917671 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D1F979F318 for ; Mon, 2 Mar 2015 21:29:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 05D9320221 for ; Mon, 2 Mar 2015 21:29:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 203BE20219 for ; Mon, 2 Mar 2015 21:29:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754617AbbCBV3D (ORCPT ); Mon, 2 Mar 2015 16:29:03 -0500 Received: from mout.kundenserver.de ([212.227.17.10]:62485 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754540AbbCBV3C (ORCPT ); Mon, 2 Mar 2015 16:29:02 -0500 Received: from wuerfel.localnet ([149.172.15.242]) by mrelayeu.kundenserver.de (mreue103) with ESMTPSA (Nemesis) id 0M2XRt-1XaiQI1Clx-00sQdW; Mon, 02 Mar 2015 22:28:59 +0100 From: Arnd Bergmann To: Kukjin Kim Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Tomasz Figa , arm@kernel.org Subject: [PATCH 8/9] ARM: EXYNOS: suspend requires regulator access Date: Mon, 02 Mar 2015 22:28:58 +0100 Message-ID: <2062492.pEav958W9c@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1423769746-582629-1-git-send-email-arnd@arndb.de> References: <1423769746-582629-1-git-send-email-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K0:47KhofmNLzyAHSL0kDvwAtbNPFh0NqbW+KfCJcRzg5+dPR6W3uT slOBVjy3b1znypvNpehFrXNZLWHYqUe2AvuzcT9mJ4yFS8BEI4eZDciKCFAhxPOshzHdJJ2 lOErwMt51azacZmXUiSZlf1B89hwl/kp8485CYpR7ZUsNE56Qfsk9hLeOQUIemHllgV9QG/ DbSaX8TGOFNKkVOVnNBNg== X-UI-Out-Filterresults: notjunk:1; Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Reviewed-by: Javier Martinez Canillas --- 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