From patchwork Wed Apr 20 08:58:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 612564 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3qqbQs6TSqz9t3q for ; Wed, 20 Apr 2016 18:59:01 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b=M98oJRiI; dkim-atps=neutral Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1asnyO-00008c-9o; Wed, 20 Apr 2016 08:59:00 +0000 Received: from mail-lb0-x233.google.com ([2a00:1450:4010:c04::233]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1asnyM-0008IT-7R for linux-snps-arc@lists.infradead.org; Wed, 20 Apr 2016 08:58:59 +0000 Received: by mail-lb0-x233.google.com with SMTP id b1so4853732lbi.1 for ; Wed, 20 Apr 2016 01:58:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=RaOilCn+ce1ElZnpTvklQyM43/6J3qBAFJfjLsxET5U=; b=M98oJRiINjO0lfLzsZAn21T80uxkguyHIoGrsMASU4HBFqOn7ZRN2JEGwlZAXib3S7 ZdP6/bS7hlVCxWvJZxt8FODcHfGH6x2jxDubdYkxZYAJiIQdAVHPW4Ltjcl6T8KAnxTb urGZYUu8C4jKnjdW9YtLmKoNQ2p+1h+ZQ8vcA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=RaOilCn+ce1ElZnpTvklQyM43/6J3qBAFJfjLsxET5U=; b=hPU+OP3bvIa6ovtAN2BcKx58PRw8LVfSKs8eRPntH8vi0uswA5sRydTFj65jisCgFE Y3U8dN2qyB7rrEciz6FcLY+OnDvVPuP++u63U3rSGRaI1dw+bOgz0GF4agk8yPArJoAo 8WqWMpj2QGHWIVTUDMr2yyCdxJf1CXvu2EnpkwO0AmjHwn1d42YVXz+yeWbK0OwSajKa 3dXR0iKVA2zF7Qo5zabMrw49h/m1db7zj6oksJrvmSPkmgJTCiknU5aw/+bx+vs39RWp XKFYy+YyrFW8u1wicLT34twG4MLS8aW/Q4pe3JNlEsv2GsabFIUt6tyTxtn8lLCR3gBv cJiw== X-Gm-Message-State: AOPr4FUfxqyoYQRsPbJbycz2sjHUHztaeVJLo2gT9kFuh4IHcxFg/xf5/1F9Gy2ea9eDNRFh X-Received: by 10.112.173.71 with SMTP id bi7mr3093501lbc.61.1461142715914; Wed, 20 Apr 2016 01:58:35 -0700 (PDT) Received: from localhost.localdomain ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id z8sm849934lbv.42.2016.04.20.01.58.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Apr 2016 01:58:35 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org, Alexandre Courbot Subject: [PATCH 02/23] arc: select GPIOLIB directly Date: Wed, 20 Apr 2016 10:58:00 +0200 Message-Id: <1461142701-21096-3-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.11 In-Reply-To: <1461142701-21096-1-git-send-email-linus.walleij@linaro.org> References: <1461142701-21096-1-git-send-email-linus.walleij@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160420_015858_593881_B04B5D3C X-CRM114-Status: GOOD ( 13.72 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:4010:c04:0:0:0:233 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vineet Gupta , Linus Walleij , linux-snps-arc@lists.infradead.org, =?UTF-8?q?Michael=20B=C3=BCsch?= Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Instead of indirectly selecting GPIOLIB via the ARCH_REQUIRE_GPIOLIB symbol, just select GPIOLIB. Cc: Michael Büsch Cc: Vineet Gupta Cc: linux-snps-arc@lists.infradead.org Signed-off-by: Linus Walleij Acked-by: Vineet Gupta --- Various arch maintainers: either ACK this and I will merge it into the GPIO tree for v4.7 anticipating no clashes, or you wait until I have the enabling patch upstream (patch 1 in this series, removing deps on ARCH_[WANTS_OPTIONAL|REQUIRES]_GPIOLIB), and you will be able to merge it to your arch trees yourselves for late v4.7 (post GPIO tree merge) or for v4.8. You can also ask me for an immutable branch if you prefer that, I will put the enabling patch on a branch and the patch for your arch on top and ask you to pull it. Select your option from the menu, silence probably means I will merge it to the GPIO tree. Unless you are X86 or ARM in which case I will be cautious. --- arch/arc/plat-axs10x/Kconfig | 2 +- arch/arc/plat-tb10x/Kconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arc/plat-axs10x/Kconfig b/arch/arc/plat-axs10x/Kconfig index 426ac4b8bb39..c54d1ae57fe0 100644 --- a/arch/arc/plat-axs10x/Kconfig +++ b/arch/arc/plat-axs10x/Kconfig @@ -13,7 +13,7 @@ menuconfig ARC_PLAT_AXS10X select OF_GPIO select MIGHT_HAVE_PCI select GENERIC_IRQ_CHIP - select ARCH_REQUIRE_GPIOLIB + select GPIOLIB help Support for the ARC AXS10x Software Development Platforms. diff --git a/arch/arc/plat-tb10x/Kconfig b/arch/arc/plat-tb10x/Kconfig index d14b3d3c5dfd..149e0917645d 100644 --- a/arch/arc/plat-tb10x/Kconfig +++ b/arch/arc/plat-tb10x/Kconfig @@ -21,7 +21,7 @@ menuconfig ARC_PLAT_TB10X select PINCTRL select PINCTRL_TB10X select PINMUX - select ARCH_REQUIRE_GPIOLIB + select GPIOLIB select GPIO_TB10X select TB10X_IRQC help