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: 118174 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp4029079qgn; Tue, 7 Nov 2017 06:13:38 -0800 (PST) X-Google-Smtp-Source: ABhQp+SX5ERTb7pWLAY/rwoEYFE2gewhRXQVgmXvlbUMvyHQfcpe8pRr4uZRFz3QPuW42XLagGLy X-Received: by 10.99.183.10 with SMTP id t10mr19301030pgf.128.1510064018483; Tue, 07 Nov 2017 06:13:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510064018; cv=none; d=google.com; s=arc-20160816; b=EIAvtCPrET9wN309Z/l/g22rSSI4tJUiJmgHX3cb7Xg0a0UhHjTkHbwAPDXW28BZ3s 1F26rOEQblkiRg1gU5abpUkijuLj8bn1gB16fVCUhq+krsizqo+qv+usuBoh0GZx+IYM b7hdvjT2Vg277//J7ZDs8Cs2Y0gMLWoDAsZugKFo62kVhZbgJmJyzn+lWoXOhXx8dQqZ 49dxwAM5YnkVJ7DO31k1b1m/gL08qHR+ZoalZLHdRVvW4KeunumiSv+dxPdIvABVHEfY YqfV38H3D91KkqD/0pFmIINOUxhHw+/PiUZ4wxvPfWktol1u4zyD0gksJ8l9jQi+NMDU JQSg== 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=u7DcZQMCJXkRVTpuaoo8Zsq0Dvb6TRpFKyunMcbz6gU=; b=OBE6XsWLiykLD8AwrZsLcl4WSJx261VRvKZgReOtACHLLG9nuVbqupyjdCibfoK4GG YVkXsj1Eo+tjP1rKDuxgefIswqgc6cfMpYZqZRnv2YkpmmIWpbJNF8W+HosFu8EgEDqX ythbsRyuZ4Bu2EbzPOc0ezXfvUyKoyBenvQ1+dtlXDlExQEEPtqHR2wh2NcedlBsuGD8 XDIXQ35E2SmQQR2mdhaykmFuD8QxGpk59DwUms0uAWbRUrvmRMHO+BRnzoJdek2dje6n wp7FUIf2IqXbRDnzs7FMrp5pgwahgZwklZVSle7Z8esVg6LR5ouRyjO0ImdZL47AOaKj k4iQ== 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 31si1297055ply.181.2017.11.07.06.13.38; Tue, 07 Nov 2017 06:13:38 -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 S933783AbdKGONh (ORCPT + 6 others); 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-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org 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(-) -- 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/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