From patchwork Fri Dec 29 20:13: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: 10137361 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 CB10660212 for ; Fri, 29 Dec 2017 20:13:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BD7C42E33A for ; Fri, 29 Dec 2017 20:13:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B265E2E33C; Fri, 29 Dec 2017 20:13:42 +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 1DBED2E33C for ; Fri, 29 Dec 2017 20:13:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751915AbdL2UNc (ORCPT ); Fri, 29 Dec 2017 15:13:32 -0500 Received: from mail-yw0-f196.google.com ([209.85.161.196]:39605 "EHLO mail-yw0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751842AbdL2UN3 (ORCPT ); Fri, 29 Dec 2017 15:13:29 -0500 Received: by mail-yw0-f196.google.com with SMTP id q26so9725983ywa.6; Fri, 29 Dec 2017 12:13:29 -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=vRv6Y+m2USoulpMpPTfrjK97CI1guOhLRdISg5hBim0=; b=iotrW2bpFC7wcxYbr3PGzAFIqpKMLfw+0bciGNmbuRQ/XQPpAEkNvBLYYAu2RohAOi murc7l3ADESsAXZJgmukRbTYOazlBdbgxPxXRWAN+bIt2kS1X8UpKqS9iLIj4wKGHj3S 8ozT7GXu+GkEb398/VKBWU8utBNaIIYChSujI1hRmR6YX1Gnz2mmlHV3FLtRiTZic3F9 J2q1JyR4Au60/uv/9H5b97+GDQ4b3Dz4MenJcD5HRHy49NMuK20+EOoGbKw/JaI8IvpL D0pHrcj4s7/E9Hen67o5U+DZe+gzMcJlHFwy6XEcK/IzBraxym3Mwook/vob33oOM98o iIwg== 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=vRv6Y+m2USoulpMpPTfrjK97CI1guOhLRdISg5hBim0=; b=VEukZb4l5fhaAH4a6gTJimujuiMALaF52/YtXxvLwZrhWSb6IiQWGqDGqiR4o5oC/O ZKA/edTVsIxHZsfdD8D0OSkwleHdPC4tFJQ+/KwR5JlNOt8LFCmW7z5mX+vd+qOOSzMX Hx41438Ic1oD9y/EVM6+s4sFWjABTggrIq34BeD88FAdZQq7i8Tv+MLsMBxQVmAIuJFU S1pZpfaNe9Gva9x5YvBviWe7R8gZ99aYVR6lCnNCNtI+BBx4h1pptVykGeAXSTpwXJgx bpcC82AKV0c+xqjXcSzVLqdbxzm+aSeb1y4PPTkEhwdJwMCHFslhnbY/Fq1W4nUve54z RrUA== X-Gm-Message-State: AKGB3mKvsRU6SDT7Zs+2VpcH3pxBeyrrcmVeDa7tV13tx/xLrh8uGpSy 0PtEYFlnTT5+fzt9pMwSu5E= X-Google-Smtp-Source: ACJfBos0tv3jsb7AA9YhLNDmhGkC45xLtqqxkAudY8y2sO9I79ylGKF59BvcN/CfdDG117tduE58UQ== X-Received: by 10.129.128.66 with SMTP id q63mr24722499ywf.411.1514578409229; Fri, 29 Dec 2017 12:13:29 -0800 (PST) Received: from localhost ([72.188.97.40]) by smtp.gmail.com with ESMTPSA id f123sm17378188ywh.14.2017.12.29.12.13.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 Dec 2017 12:13:28 -0800 (PST) From: William Breathitt Gray To: linus.walleij@linaro.org Cc: mail@maciej.szmigiero.name, linux@roeck-us.net, linux-gpio@vger.kernel.org, linux-iio@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org, William Breathitt Gray , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler Subject: [PATCH v2 1/5] iio: Change ISA_BUS_API dependency to selection Date: Fri, 29 Dec 2017 15:13:19 -0500 Message-Id: <84517171cdb142f3f04b45de6ef8daf13442a866.1514578085.git.vilhelm.gray@gmail.com> 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: Jonathan Cameron Cc: Hartmut Knaack Cc: Lars-Peter Clausen Cc: Peter Meerwald-Stadler Signed-off-by: William Breathitt Gray Acked-by: Jonathan Cameron --- drivers/iio/adc/Kconfig | 3 ++- drivers/iio/counter/Kconfig | 3 ++- drivers/iio/dac/Kconfig | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index ef86296b8b0d..7c00e5858693 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -658,7 +658,8 @@ config STM32_ADC config STX104 tristate "Apex Embedded Systems STX104 driver" - depends on PC104 && X86 && ISA_BUS_API + depends on PC104 && X86 + select ISA_BUS_API select GPIOLIB help Say yes here to build support for the Apex Embedded Systems STX104 diff --git a/drivers/iio/counter/Kconfig b/drivers/iio/counter/Kconfig index 474e1ac4e7c0..bf1e559ad7cd 100644 --- a/drivers/iio/counter/Kconfig +++ b/drivers/iio/counter/Kconfig @@ -7,7 +7,8 @@ menu "Counters" config 104_QUAD_8 tristate "ACCES 104-QUAD-8 driver" - depends on PC104 && X86 && ISA_BUS_API + depends on PC104 && X86 + select ISA_BUS_API help Say yes here to build support for the ACCES 104-QUAD-8 quadrature encoder counter/interface device family (104-QUAD-8, 104-QUAD-4). diff --git a/drivers/iio/dac/Kconfig b/drivers/iio/dac/Kconfig index 965d5c0d2468..76db0768e454 100644 --- a/drivers/iio/dac/Kconfig +++ b/drivers/iio/dac/Kconfig @@ -195,7 +195,8 @@ config AD7303 config CIO_DAC tristate "Measurement Computing CIO-DAC IIO driver" - depends on X86 && ISA_BUS_API + depends on X86 && (ISA_BUS || PC104) + select ISA_BUS_API help Say yes here to build support for the Measurement Computing CIO-DAC analog output device family (CIO-DAC16, CIO-DAC08, PC104-DAC06). The