From patchwork Wed Apr 20 08:58:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 66197 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp2325455qge; Wed, 20 Apr 2016 01:59:18 -0700 (PDT) X-Received: by 10.66.255.39 with SMTP id an7mr10653431pad.2.1461142749283; Wed, 20 Apr 2016 01:59:09 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cg4si17383889pad.22.2016.04.20.01.59.09; Wed, 20 Apr 2016 01:59:09 -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 S1754980AbcDTI7H (ORCPT + 4 others); Wed, 20 Apr 2016 04:59:07 -0400 Received: from mail-lb0-f171.google.com ([209.85.217.171]:36148 "EHLO mail-lb0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754972AbcDTI7E (ORCPT ); Wed, 20 Apr 2016 04:59:04 -0400 Received: by mail-lb0-f171.google.com with SMTP id ys16so5549143lbb.3 for ; Wed, 20 Apr 2016 01:59:03 -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=YryVjEghqPUPW7cvW+e2QEdSmdoe5aDD5wcX9SKBGs0=; b=HkYFMGXNuzdJN3sMICdSGibpLbNLuj4y6M9JcxC/k7l1jFTuOXTkrPbMhxhcjsxb/6 MK0zk35aFfLqeOItU/v23vjnIKBhbOx6LH+taHgdiWdovZ+4+vwRiex6hZNE6+mge9tD mYX+P5fNYmjPay+xCvL+5sFcYuDF4kFRA/nic= 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=YryVjEghqPUPW7cvW+e2QEdSmdoe5aDD5wcX9SKBGs0=; b=OS6d6lE6kUSBP7g3b5m+neDYnR5p25uqgCikbA/2YkWsaFFFTI0WCP1l2nCA7k2aj6 d1bs0wafXJiCq+usrNPtT2qFSwNnnYJ4aCpWBltncQEuLrUxsjS3YQHXc6RKmtkxerM+ 6/jcmh380dMHnIZqoYC4Zx71dZX4A4OdKz5HIq7wtbGjtSosYVT2syPYylIUroOnHDBZ XAAm9fv3WiepzAiLuDnKrBrUQ5DfZx9VrO+nB4IuYCyWGNWxyF5IbnsBVgLQVQsJaCbK poy71/lvgYGo8yhK13FnQLaXDPq+XMMSPTqbb8aktvlTaGSJ06IF/YaWoK3mlgG42Yq6 PFHA== X-Gm-Message-State: AOPr4FWFcQ+cvIg/RNDXzRcEFPGD8MglW+NKoLjMNpCP0woWY5YY3EP7EbMdfXwD1rGORPeB X-Received: by 10.112.14.34 with SMTP id m2mr3100669lbc.37.1461142742407; Wed, 20 Apr 2016 01:59:02 -0700 (PDT) Received: from localhost.localdomain ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id z8sm849934lbv.42.2016.04.20.01.59.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Apr 2016 01:59:01 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org, Alexandre Courbot Cc: Linus Walleij , =?UTF-8?q?Michael=20B=C3=BCsch?= , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org Subject: [PATCH 15/23] x86: do away with ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB Date: Wed, 20 Apr 2016 10:58:13 +0200 Message-Id: <1461142701-21096-16-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 This replaces: - "select ARCH_REQUIRE_GPIOLIB" with "select GPIOLIB" as this can now be selected directly. - "select ARCH_WANT_OPTIONAL_GPIOLIB" with no dependency: GPIOLIB is now selectable by everyone, so we need not declare our intent to select it. When ordering the symbols the following rationale was used: if the selects were in alphabetical order, I moved select GPIOLIB to be in alphabetical order, but if the selects were not maintained in alphabetical order, I just replaced "select ARCH_REQUIRE_GPIOLIB" with "select GPIOLIB". Cc: Michael Büsch Cc: Thomas Gleixner Cc: Ingo Molnar Cc: H. Peter Anvin Cc: x86@kernel.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/x86/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 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/x86/Kconfig b/arch/x86/Kconfig index 2dc18605831f..1f9740fcbe13 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -49,7 +49,6 @@ config X86 select ARCH_WANTS_DYNAMIC_TASK_STRUCT select ARCH_WANT_FRAME_POINTERS select ARCH_WANT_IPC_PARSE_VERSION if X86_32 - select ARCH_WANT_OPTIONAL_GPIOLIB select BUILDTIME_EXTABLE_SORT select CLKEVT_I8253 select CLKSRC_I8253 if X86_32 @@ -645,7 +644,7 @@ config STA2X11 select X86_DMA_REMAP select SWIOTLB select MFD_STA2X11 - select ARCH_REQUIRE_GPIOLIB + select GPIOLIB default n ---help--- This adds support for boards based on the STA2X11 IO-Hub,