From patchwork Fri Dec 15 12:48:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 122082 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp425673qgn; Fri, 15 Dec 2017 04:49:34 -0800 (PST) X-Google-Smtp-Source: ACJfBov0qegtAzoI+WHUwUjFncEinqR9cjNim9IXjvQtz/PmyM9fqGCjyGOXjqFJmhVjl5Pc4gLx X-Received: by 10.101.85.135 with SMTP id j7mr11753781pgs.17.1513342174023; Fri, 15 Dec 2017 04:49:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513342174; cv=none; d=google.com; s=arc-20160816; b=ULmFvLNZtRIaypxn5WUuHNoR+pxCDwF3ZAVqdqYTLF7OPtwidDHW+xjuRcPJjzY6+b j8WCHHR+e5lZRJRAhB2RYqnXmjVIx8IIalXuq01dkwtAuYj+nnR3vHUHXziYM7W9Fk7f 5vPlUzWLsECf5EY6ugwXjOgxBDoulrd/F8SAikGTbwI90D5OCeaj3hLubUTY3PK9Q3iY vfFrh04pLtrJWP4qNivdxMvsT18a8spNWelfmcVdy8KPhzqlwILSJmCRAh/hdopMJoIf OcKtNyeSEWkuY5WFeZwsIfRUPi6ORplXzzBmCS0HfY9v0AOHmfq8GY9c86ENxXLx7DC4 /p4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=96vv+kLkMPWiwa/tO8gvTmxHdKgkj1fuKbVI+o5/QoE=; b=ySlh1mSoJKpWaGxSoAemNT77DxEcIXjc5vzys6C9lxSePvaMLOMGV+w7epDacKr7ML 8e4y02QKjpE3JHnhuGSUZ2EIje1optgOkvewP8skrfbYfXcVwCxQ+VPVrNISvE7tozvC 0Htl2UfCbLAoDcpPP8QYuzlEi7Y/ay00L/qSxQDb6GonHLJxuljJZF6RauNhfOcO4isv ip6WyoPzbp7GNi4Dw51+doExpTTYCwsL7rQq/gbNnWjI3gEcI+ra/DTHl2K/aNY+IVG6 j3a9ZcPTpT8cJblNU0t1hJeaStAghsa8bxFy9ZLHPm+pHFVD5uS7Qi1UE000osntImzy 6sZw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g2si5012825pli.274.2017.12.15.04.49.33; Fri, 15 Dec 2017 04:49:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755755AbdLOMtc (ORCPT + 6 others); Fri, 15 Dec 2017 07:49:32 -0500 Received: from mout.kundenserver.de ([217.72.192.74]:55427 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755427AbdLOMtO (ORCPT ); Fri, 15 Dec 2017 07:49:14 -0500 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue101 [212.227.15.145]) with ESMTPA (Nemesis) id 0MC1IG-1eH3zz1eV6-008q9N; Fri, 15 Dec 2017 13:49:11 +0100 From: Arnd Bergmann To: Linus Walleij Cc: Arnd Bergmann , Quentin Schulz , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] pinctrl: axp209: add CONFIG_OF dependency Date: Fri, 15 Dec 2017 13:48:41 +0100 Message-Id: <20171215124910.2887096-1-arnd@arndb.de> X-Mailer: git-send-email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== Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The pinconf_generic_dt_free_map and pinconf_generic_dt_node_to_map_group functions are only defined when CONFIG_OF is set: drivers/pinctrl/pinctrl-axp209.c:312:21: error: 'pinconf_generic_dt_node_to_map_group' undeclared here (not in a function); did you mean 'pinconf_generic_params'? drivers/pinctrl/pinctrl-axp209.c:313:18: error: 'pinconf_generic_dt_free_map' undeclared here (not in a function); did you mean 'pinconf_generic_params'? This adds a Kconfig depdency for the driver to prevent randconfig build failures. Fixes: 23f75d7dfa92 ("pinctrl: axp209: add pinctrl features") Signed-off-by: Arnd Bergmann --- drivers/pinctrl/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.0 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index ce126955212c..648be90ac1cb 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -65,7 +65,7 @@ config PINCTRL_AS3722 config PINCTRL_AXP209 tristate "X-Powers AXP209 PMIC pinctrl and GPIO Support" - depends on MFD_AXP20X + depends on MFD_AXP20X && OF help AXP PMICs provides multiple GPIOs that can be muxed for different functions. This driver bundles a pinctrl driver to select the function