From patchwork Thu Dec 28 16:02:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Breathitt Gray X-Patchwork-Id: 10135077 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6091F60318 for ; Thu, 28 Dec 2017 16:02:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 52C6E2D72B for ; Thu, 28 Dec 2017 16:02:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 46FBB2D7C2; Thu, 28 Dec 2017 16:02:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CBBB92D72B for ; Thu, 28 Dec 2017 16:02:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753435AbdL1QC2 (ORCPT ); Thu, 28 Dec 2017 11:02:28 -0500 Received: from mail-yb0-f193.google.com ([209.85.213.193]:37090 "EHLO mail-yb0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753427AbdL1QC0 (ORCPT ); Thu, 28 Dec 2017 11:02:26 -0500 Received: by mail-yb0-f193.google.com with SMTP id 5so22850962ybp.4; Thu, 28 Dec 2017 08:02:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=hELWQ/+Ly/DUhSXw/EooIT4GUM63fN0UJTJ0STtJQ1M=; b=L8yVzKNqL5XIfFOX3J9ejubZo5/nNxmQmi3yxzjLinWBrpbNdxGSUmbfoMo+H5z8nz bjSEgpJVVkOQfUfxpqXOZQNO/gXmebjj/Ux6imrCj+ddoNkR0YnltVvexA8EziM3R1Ta /ilVa01hOpo211tP67rn34LHjoG0V2HcvDBeB5qMMZ91lU7jzPyYzACVZWOeG/skkrNV oa/jV49igLIfKPVYNAKrFNR2BqJ/i76av/w+Xub4T1mUMQx2PzJcBqMC9GREHXEw7Qju AdULvsfb9IY7JETSObnWUGia7muOVZHeJIz6IbIVEcqqOQWjZ2BnvvbouXtPgDdfHRbV k72Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=hELWQ/+Ly/DUhSXw/EooIT4GUM63fN0UJTJ0STtJQ1M=; b=feCFiPukAfEebp8ece73C9gJxsQIdpkgAR8E7m9ifpty7+Zx+cTESnE2hDcXbyhDb2 ajxef2nX2NQEax509vCqDV/Hg9XdJ077VAC/z4LMb4LE99ZLyf3+bI7k7iUv0RYKD7b8 pdoLhq6Kcf//J6Lh9bW1ZedbLSQCasmLDQy0jNW2JB/TSGi+Wb5q5QxdHdHXcwdSlc4G nABj3Ve3GJAJbI+m2Peks7M3fjnO+UnbTYuXev71xIUaHxu6BqTkwmvv8x44icFBoQKL ZaIlyEtX+cXB0eMhi71kfa7tNlPL4JKnh/q1WJkJPiwWIDObp2ZRF/K1jD27JaRxWm3A Y9SQ== X-Gm-Message-State: AKGB3mJb92jnEBW592tLpPBHTaoTNqOW5MihGvUF4+p6bJBFf24LwWIF tGa7WIyYZcVIR8PhGHX4VPg= X-Google-Smtp-Source: ACJfBotZel8fETkARA9oms/KxHykAhvSAMQncKafpDW5ugYBX1ltGXg8QE/kV+b97pDffruXGdZrOg== X-Received: by 10.37.79.198 with SMTP id d189mr2189728ybb.87.1514476945489; Thu, 28 Dec 2017 08:02:25 -0800 (PST) Received: from localhost ([72.188.97.40]) by smtp.gmail.com with ESMTPSA id l37sm4377715ywa.5.2017.12.28.08.02.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Dec 2017 08:02:25 -0800 (PST) From: William Breathitt Gray To: linus.walleij@linaro.org Cc: mail@maciej.szmigiero.name, linux-gpio@vger.kernel.org, linux-iio@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org, William Breathitt Gray Subject: [PATCH 3/3] gpio: Change ISA_BUS_API dependency to selection Date: Thu, 28 Dec 2017 11:02:19 -0500 Message-Id: X-Mailer: git-send-email 2.15.1 In-Reply-To: References: Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The ISA_BUS_API Kconfig option enables the compilation of the ISA bus driver. The ISA bus driver does not perform any hardware interaction, and is instead just a thin layer of software abstraction to eliminate boilerplate code common to ISA-style device drivers. Since ISA_BUS_API has no dependencies and does not jeopardize the integrity of the system when enabled, drivers should select it when the ISA bus driver functionality is needed. Cc: Linus Walleij Signed-off-by: William Breathitt Gray --- drivers/gpio/Kconfig | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 395669bfcc26..36ad9ce3dc58 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -590,7 +590,8 @@ menu "Port-mapped I/O GPIO drivers" config GPIO_104_DIO_48E tristate "ACCES 104-DIO-48E GPIO support" - depends on PC104 && ISA_BUS_API + depends on PC104 + select ISA_BUS_API select GPIOLIB_IRQCHIP help Enables GPIO support for the ACCES 104-DIO-48E series (104-DIO-48E, @@ -600,7 +601,8 @@ config GPIO_104_DIO_48E config GPIO_104_IDIO_16 tristate "ACCES 104-IDIO-16 GPIO support" - depends on PC104 && ISA_BUS_API + depends on PC104 + select ISA_BUS_API select GPIOLIB_IRQCHIP help Enables GPIO support for the ACCES 104-IDIO-16 family (104-IDIO-16, @@ -611,7 +613,8 @@ config GPIO_104_IDIO_16 config GPIO_104_IDI_48 tristate "ACCES 104-IDI-48 GPIO support" - depends on PC104 && ISA_BUS_API + depends on PC104 + select ISA_BUS_API select GPIOLIB_IRQCHIP help Enables GPIO support for the ACCES 104-IDI-48 family (104-IDI-48A, @@ -631,7 +634,8 @@ config GPIO_F7188X config GPIO_GPIO_MM tristate "Diamond Systems GPIO-MM GPIO support" - depends on PC104 && ISA_BUS_API + depends on PC104 + select ISA_BUS_API help Enables GPIO support for the Diamond Systems GPIO-MM and GPIO-MM-12. @@ -700,7 +704,7 @@ config GPIO_TS5500 config GPIO_WS16C48 tristate "WinSystems WS16C48 GPIO support" - depends on ISA_BUS_API + select ISA_BUS_API select GPIOLIB_IRQCHIP help Enables GPIO support for the WinSystems WS16C48. The base port