From patchwork Tue Sep 5 07:58:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 111634 Delivered-To: patch@linaro.org Received: by 10.140.94.166 with SMTP id g35csp2507993qge; Tue, 5 Sep 2017 00:58:40 -0700 (PDT) X-Google-Smtp-Source: ADKCNb7Mx3Yiot2jy4w3lnEvK2PPP4aufS9M9YaKwTAVUm5oSYDYXGOXsJerEt8DCNYOT0T5Dc/V X-Received: by 10.84.211.100 with SMTP id b91mr3472489pli.168.1504598320844; Tue, 05 Sep 2017 00:58:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504598320; cv=none; d=google.com; s=arc-20160816; b=TNUnFDftyLxkfg5RAloY5CjvGpYe2iDRFz1ougzh53mrJ+VJ/ov04MnNQvN0klMLzy YeyupD2BJuAEKTYrU22sM8PAqeZnq+toy82LcC4k5H8PHx15NfbYKoiPQUs3h7eYoJLP w9j91RzRamLpD0n0YrvjSiN7uohgY33lEI7I+8yuPvh/L9nxM4Y841PfM+c0tJJ+9C12 tA/6pK3avFxC5lqU4QJZxvpDnswdjy4aDzdx7rSEbXf4F4jIXi9T9u5t2mtfekzGPTLg +hbtPN9z3aWDSGERMIZoGV7DU08TIDSm0wU7gDhbHhwwBpOlmfT7HYDwq5pSK1hsksR/ vCtw== 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=80S20sgcarNM/O3Y/P1Dt5CSTAJ4CHpFYru6vg7e4yc=; b=aM0QXFzJWK0gsToO95/iZJ2n4S9mxen/fxxcIyu+5aXVVhicXY3aFRAF3RKZrit+A+ FCBpPByQyjszODA0XXfsksF3Xbj/oIVouglLNQnYvrSEvkSleomx1vGhJZ7tWv0ayQeu 3tM6hSOt+slmXhubD5RXDQluZXg+jrEXMLABlcuR+F9WoEj0YOExNtcMg6/1HFDadVDe YysVt4Oe7NQT800Ir3J5GNIs7754wksLB0rjs34Cg3U0N3idNW4GPL400K5GkL8AafI8 YgkgDHSyJtXUbSy5/Bn86y0noRUz3LWSeONNbZk1gjGbfkD8Dv6ziQ1CstQP/qFBP7hl mQaA== 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 x133si92439pgx.102.2017.09.05.00.58.40; Tue, 05 Sep 2017 00:58:40 -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 S1751014AbdIEH6j (ORCPT + 5 others); Tue, 5 Sep 2017 03:58:39 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:56706 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750704AbdIEH6j (ORCPT ); Tue, 5 Sep 2017 03:58:39 -0400 Received: from wuerfel.lan ([95.208.190.237]) by mrelayeu.kundenserver.de (mreue101 [212.227.15.145]) with ESMTPA (Nemesis) id 0LoYQs-1dHhsq2Uwc-00gW29; Tue, 05 Sep 2017 09:58:30 +0200 From: Arnd Bergmann To: Linus Walleij , Baolin Wang Cc: Arnd Bergmann , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] pinctrl: sprd: add missing Kconfig dependency Date: Tue, 5 Sep 2017 09:58:01 +0200 Message-Id: <20170905075826.893066-1-arnd@arndb.de> X-Mailer: git-send-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sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The chip-specific driver fails to build when the common part is not enabled first: drivers/pinctrl/sprd/pinctrl-sprd-sc9860.o:(.data+0x8): undefined reference to `sprd_pinctrl_remove' drivers/pinctrl/sprd/pinctrl-sprd-sc9860.o:(.data+0x10): undefined reference to `sprd_pinctrl_shutdown' This adds a Kconfig dependency to ensure this is always the case. Fixes: 41d32cfce1ae ("pinctrl: sprd: Add Spreadtrum pin control driver") Signed-off-by: Arnd Bergmann --- drivers/pinctrl/sprd/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 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/sprd/Kconfig b/drivers/pinctrl/sprd/Kconfig index 6f4a7f9ac6fd..ec21b8bae487 100644 --- a/drivers/pinctrl/sprd/Kconfig +++ b/drivers/pinctrl/sprd/Kconfig @@ -13,5 +13,6 @@ config PINCTRL_SPRD config PINCTRL_SPRD_SC9860 bool "Spreadtrum SC9860 pinctrl driver" + depends on PINCTRL_SPRD help Say Y here to enable Spreadtrum SC9860 pinctrl driver