From patchwork Tue Nov 7 14:12:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10046749 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E056360247 for ; Tue, 7 Nov 2017 14:13:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D588D28EC3 for ; Tue, 7 Nov 2017 14:13:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CA53028FE2; Tue, 7 Nov 2017 14:13:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 70FD728EC3 for ; Tue, 7 Nov 2017 14:13:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933919AbdKGONh (ORCPT ); Tue, 7 Nov 2017 09:13:37 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:52225 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932671AbdKGONg (ORCPT ); Tue, 7 Nov 2017 09:13:36 -0500 Received: from wuerfel.lan ([109.193.157.232]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.145]) with ESMTPA (Nemesis) id 0M3C0V-1f4AXZ1zeh-00sreV; Tue, 07 Nov 2017 15:12:46 +0100 From: Arnd Bergmann To: Tomasz Figa , Krzysztof Kozlowski , Sylwester Nawrocki , Linus Walleij Cc: Arnd Bergmann , Alim Akhtar , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] pinctrl: samsung/s3c24xx: add CONFIG_OF dependency Date: Tue, 7 Nov 2017 15:12:36 +0100 Message-Id: <20171107141244.3377780-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:44F55PDEMgIEYj4XuoayPjLKr4Gb0uGjq0Q3pj1Y2ZueAwtcSiN YS9WOXA4YuITWnZhQA55+CEb04K0t1Za/4dnMCo9lKQ7K1357n+XUkFJWK52byvcApQfwHx 4vJEdB6Mox5EfP3fvwOnuMeXk8cj6t7oPxJWFumop4d33EhbRDVJNv+bV+lzCKkjvAa4mDY rFQ+pzd5HBs+gTjfvm9Jw== X-UI-Out-Filterresults: notjunk:1; V01:K0:MhT/+DCFpJw=:ui3S5F77UU/7jPY9TO36Tx JLrs9YP9kIoeL7/KpBGpnaLMRZHUonYyibeaFwXPcuXekj9Ku8MhDjWBVVgFVNzUeHWxsUHd8 KYinW7ZVBNILkiKUV7EEmANkrtQfjF0rIUvHCBT+wpC+LTGN9gXzNKGqas9hXG0ILef0IYnpo bHLktfMqoqIDSvx69xKyCmWZmRt39AnXU/snxaKwyrTmOU94KqU/bfLfrhJmvFtBCGHY1JmA1 y99Ktn34v4ALe7bl94598vEqSpkV/DE4jI4MkIEf8ODMUmF7TKzfPVD11Qg5h3wMcGPwk71hQ PfzbcgGTW4GYh24OMIkZQcd4isvH9wEVpUo6Oqct1UaR07P5PS/eIC4c3pNmJ+ImScbfU7XSn mDOEO7di6t0S/qM059Pqba+2CkKEoT7NpJ95Gcm0B0OwWQlcb/1uOF5u9mdWxdTsDAM/ZCILc mM1imE88IguWVtFdr1ABH1Z5XLOmcWfyxosjUl2440Hm1w0nxgWdW5Zy7VZJ/Yji8e9B4JEBA Bz3//0Y98xZzZl7XHAklr5AcLxvnbtV/lDx8xoi3oW+HKo+4uqBpMeL5/dbkXYvRa//G5M/bO LAWOen4N3j2fTvw8fGBfr9DWEESpYp9jZrfxzeBO3ZzPqnV1mPiyq56KimUc5nAck+QyvXk22 FmgbYXX4aVt5ecYZfIKtg6e1VIMB2UZuSWUFsC58JZkFGxzHxqnKkkqymZB+aAWtl86PN1rgw FJYmcbWxgp+8Ae2udAQMOjytRtJivwQBDHz1Jw== Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The driver fails to build without CONFIG_OF: drivers/pinctrl/samsung/pinctrl-samsung.c: In function 'samsung_gpiolib_register': drivers/pinctrl/samsung/pinctrl-samsung.c:936:5: error: 'struct gpio_chip' has no member named 'of_node' This configuration is now possible since we can now select the PINCTRL subsystem on S3C24xx machines other than the device tree based ones. Fixes: d219b924611a ("pinctrl: change Kconfig PINCTRL variable to a menuconfig") Signed-off-by: Arnd Bergmann --- drivers/pinctrl/samsung/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/samsung/Kconfig b/drivers/pinctrl/samsung/Kconfig index 0357f9701eb9..ecfb90059eeb 100644 --- a/drivers/pinctrl/samsung/Kconfig +++ b/drivers/pinctrl/samsung/Kconfig @@ -29,7 +29,7 @@ config PINCTRL_EXYNOS5440 config PINCTRL_S3C24XX bool "Samsung S3C24XX SoC pinctrl driver" - depends on ARCH_S3C24XX + depends on ARCH_S3C24XX && OF select PINCTRL_SAMSUNG config PINCTRL_S3C64XX