From patchwork Sat Apr 16 20:26:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 102508 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp569720qge; Sat, 16 Apr 2016 13:26:46 -0700 (PDT) X-Received: by 10.66.177.75 with SMTP id co11mr6970310pac.85.1460838406173; Sat, 16 Apr 2016 13:26:46 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c186si10778783pfc.145.2016.04.16.13.26.45; Sat, 16 Apr 2016 13:26:46 -0700 (PDT) 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 S1751840AbcDPU0p (ORCPT + 4 others); Sat, 16 Apr 2016 16:26:45 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:51797 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751711AbcDPU0o (ORCPT ); Sat, 16 Apr 2016 16:26:44 -0400 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue005) with ESMTPA (Nemesis) id 0MXCmv-1bEyv32kaL-00WIsX; Sat, 16 Apr 2016 22:26:28 +0200 From: Arnd Bergmann To: Linus Walleij Cc: Philipp Zabel , Arnd Bergmann , Frank Li , Anson Huang , Shawn Guo , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] pinctrl: imx: select regmap subsystem Date: Sat, 16 Apr 2016 22:26:06 +0200 Message-Id: <1460838382-1245338-1-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 X-Provags-ID: V03:K0:zc7lDODYFEG1EjACqTO/yPie+mCfrcfpGUT+WW8j52sB29P3HPl noH6SkkRtBg3yXb7vgZqLsWIB9lc/X3B6pmzL4+0wr1K3+baJy52t1NBg0eF/LILomCroYW AQbzX6xTIXdEycgGQxyAYAk/+zYvNDvpRdyEapJlmmrg4/mjPDVvVb2XsrENGhXGYyp/qd0 swi55AA3UGUuoIMTBa17Q== X-UI-Out-Filterresults: notjunk:1; V01:K0:XGjJaf+vhlg=:lRkNPLPtQAnm01teLFCkjH /BBqAoo44iz/fMmwbUEG7hFAPIAi+SgKxeRPYbcfZoD8Xs0AVI2PTp6xaNiseYsrD4fdqtuWC iJmlGHz3lxUBdBL6m0wMuLbQkog2QMxLZJZisciKg66r66mtxQbmuI1Sa2yGJ1jn9QsR9ZJBl UC5jk9KDqMdhzh3wSJXhKd6MTDHxubdL/ifUBg6Y00kGP5JdunX8ZwqK/gnYkbrjgtZ7UE3ln vq7w+Khu7VQUjkUPG/+RVHvbMvexrdrNrh6jPLZpho2kkrQZnvP5ds+khpfdzm6EqbJBzjhT3 GI+07HkEWY3L2+oNvYjm68XnpB1QvpLRl0GYnDk8d1TD9/y0AerjLBRxCFIKZ2VDWZtl4ZsQL Vc7VBL63R3f1m8W8Hc9H49kZk2hhPC0f2CbL6xY6R6c4p/M2/RbY+jIQ9Lw/LVlspV8pDKJtg rySfZy0CaTHQn5wq5u57buZWnIIhaPzYhA6LhKhwfzW986elNYnxL1hejIrx95w+wTHjI1gMP v1b3yDWA8LwJFtzUUBPX1rBnExO+eKNmt76huVI5B+N7FHSdVZKhuGS40St/XVIDJm6MSe8Ym NI97OL8gJOrgx/RcwEAR9MQ3+XQoP7QdhhTw8NVVcL4LX4yP+JERZBrN52n6boxk7yZ5+Fskh I1rVGvCGqflopU9RfaRiFrIXalEUDO9zkI0lJDKvx72ISifefZmd9xNWCHocwCb7AVHI= Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Building the imx pinctrl driver without regmap fails with multiple build errors like: drivers/pinctrl/freescale/pinctrl-imx.c: In function 'imx_pinctrl_probe': drivers/pinctrl/freescale/pinctrl-imx.c:723:9: error: variable 'config' has initializer but incomplete type struct regmap_config config = { .name = "gpr" }; This adds a 'select REGMAP' statement, to ensure we can define a 'struct regmap_config'. This matches what all other regmap users do. The driver actually uses syscon on top of regmap, but syscon is already enabled on i.MX for other reasons, and selecting REGMAP but not SYSCON is sufficient for build testing on other platforms. Signed-off-by: Arnd Bergmann Fixes: 8626ada871f1 ("pinctrl: imx: attach iomuxc device to gpr syscon") --- drivers/pinctrl/freescale/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.7.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/freescale/Kconfig b/drivers/pinctrl/freescale/Kconfig index debe1219d76d..fc8cbf611723 100644 --- a/drivers/pinctrl/freescale/Kconfig +++ b/drivers/pinctrl/freescale/Kconfig @@ -2,6 +2,7 @@ config PINCTRL_IMX bool select PINMUX select PINCONF + select REGMAP config PINCTRL_IMX1_CORE bool