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: 66185 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp2325234qge; Wed, 20 Apr 2016 01:58:42 -0700 (PDT) X-Received: by 10.98.38.5 with SMTP id m5mr10667576pfm.41.1461142722229; Wed, 20 Apr 2016 01:58:42 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xs13si230016pac.140.2016.04.20.01.58.42; Wed, 20 Apr 2016 01:58:42 -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; dkim=neutral (body hash did not verify) header.i=@linaro.org; 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; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932810AbcDTI6k (ORCPT + 4 others); Wed, 20 Apr 2016 04:58:40 -0400 Received: from mail-lb0-f176.google.com ([209.85.217.176]:36016 "EHLO mail-lb0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932753AbcDTI6h (ORCPT ); Wed, 20 Apr 2016 04:58:37 -0400 Received: by mail-lb0-f176.google.com with SMTP id ys16so5543350lbb.3 for ; Wed, 20 Apr 2016 01:58:36 -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=G2p/3VfaY2hKiPLzVeKmlUASX8e5k389UElvacdnm9dC7bAnHF06WX6+WLGMgLbGl8 EyzQdtp99KH33r2Ogq/h00cWxCtUw4wvNrCLzgATMTHHVNwh3MiI6xh1ey/QJptGyESu QThlKhtuqYsDOM7Ri18ExA2Y+iAHPgCV/+D4doH0S2f5SH+r5gJRll5TLVCgjIGCiRTd IvS/oYWlnRw7ngE3ZaTIt4CCxLFQ5uX60u1356v2wj1zCHWHyK3BcP7NiWcvGFz/jUGd c4cDwxDiTr33ccdmc5tQoL/XEAYUaG8PPrlAp0+BdyFkXjREmi4tc5ammXKyREb613lV /Plw== X-Gm-Message-State: AOPr4FWXhhqeCsQltQaCcY5B6+Qa6pLDjQVow5JEwpWLzrbue4TJwNdnQh3e1EkS8r4qx9o+ 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 Cc: Linus Walleij , =?UTF-8?q?Michael=20B=C3=BCsch?= , Vineet Gupta , linux-snps-arc@lists.infradead.org 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 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.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 --- 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(-) -- 2.4.11 -- 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/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