From patchwork Thu Dec 14 09:43:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 121889 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6580682qgn; Thu, 14 Dec 2017 01:44:41 -0800 (PST) X-Google-Smtp-Source: ACJfBouGpTJxI95MAwnmFnG9OIbpvccWjTBMv8O1zDtIB6Nxxzr1u1/fLKGM23DfvWwvIFvmUBnk X-Received: by 10.99.100.67 with SMTP id y64mr7978860pgb.19.1513244681908; Thu, 14 Dec 2017 01:44:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513244681; cv=none; d=google.com; s=arc-20160816; b=OU4ooQ8+1eMdRhbt1d1R2CZ0YhcrrKO+aSaeMDzKYAazyX6zLhAyeFMh/NESKPiSJo TCEgYcW0DqrQJG88h11JsJqboibREJ63T60gpoNvhz7cKyK1wvkamKBEf/XDcgxLPCvH mepg5xEZaKt0fhht2iGaqEXosb3hc54bM7YAe72UH/r4G9N7wHikmM68MkF9KUR01c/+ +NGz+BONwKM6WJvoBkzk9haUzM5XfhyC0RZzF7a8/hZmfKyQyb3URWpImSXIFq+DZK3p wdNlO+vDQ/NBcqDCPDYV49xWt1YK3SWgP2VSKr0QYVzguUT6FLWA14P3NYaa9C39Sug7 vzNw== 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=lwBOWTfUHqxl9/ZrlHC76DaBL8tVxknJzBGsLIyMYpw=; b=AWYq69SNBRQbf6xg325/A/x2hEpZLDAMwjvQX4q8jUJLIsTX05Gm9NegAcrFG+Xzxd 7ul7HPMJzNcvE8gISnKDNL1HCZgNMeobUGEoV39wfmAR00Bp6Rt03zKpffzm75ydaehs G3zXPRwcSc9sbqrG1lFEmXlgHi6yY1JpYtouqPYWD00MX+D7U00MnfP5D1Le2SlLKhzG cX4Oh+juEAIQkra6g55qAKQNSnDL2uLIDQrXAPtlM6L+2DI8nYJmOE+Zcy1T5hukSSAC 51AmVwQw7kSPgYKLq6Tc/hUR68XbXXOkCpLmfyi2WIcQdlumI8oxaMr9XvMyp40ewjiY iHsQ== 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 bd8si730515plb.657.2017.12.14.01.44.41; Thu, 14 Dec 2017 01:44:41 -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 S1750808AbdLNJol (ORCPT + 6 others); Thu, 14 Dec 2017 04:44:41 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:55666 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750737AbdLNJok (ORCPT ); Thu, 14 Dec 2017 04:44:40 -0500 Received: by mail.free-electrons.com (Postfix, from userid 110) id CFFD1207A8; Thu, 14 Dec 2017 10:44:38 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost.localdomain (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id 9359B20411; Thu, 14 Dec 2017 10:44:38 +0100 (CET) From: Quentin Schulz To: linus.walleij@linaro.org Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@free-electrons.com, linux-sunxi@googlegroups.com, rdunlap@infradead.org, Quentin Schulz Subject: [PATCH] pinctrl: axp209: add missing Kconfig dependencies Date: Thu, 14 Dec 2017 10:43:35 +0100 Message-Id: <20171214094335.899-1-quentin.schulz@free-electrons.com> X-Mailer: git-send-email 2.14.1 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org This fixes some compilation issues. GENERIC_PINCONF and OF at least for pinconf_generic_dt_*, PINMUX at least for pinmux_ops and GPIOLIB for at least gpio_chip. Fixes: 23f75d7dfa92 ("pinctrl: axp209: add pinctrl features") Reported-by: Randy Dunlab Signed-off-by: Quentin Schulz --- drivers/pinctrl/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) -- 2.14.1 -- 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..1dd445116432 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -66,6 +66,10 @@ config PINCTRL_AS3722 config PINCTRL_AXP209 tristate "X-Powers AXP209 PMIC pinctrl and GPIO Support" depends on MFD_AXP20X + depends on OF + select PINMUX + select GENERIC_PINCONF + select GPIOLIB help AXP PMICs provides multiple GPIOs that can be muxed for different functions. This driver bundles a pinctrl driver to select the function