From patchwork Thu Dec 28 16:02:06 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: 10135073 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 AA52360318 for ; Thu, 28 Dec 2017 16:02:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9C78F2D71E for ; Thu, 28 Dec 2017 16:02:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 90D962D80B; Thu, 28 Dec 2017 16:02:29 +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=ham 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 245FB2D71E for ; Thu, 28 Dec 2017 16:02:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752036AbdL1QCP (ORCPT ); Thu, 28 Dec 2017 11:02:15 -0500 Received: from mail-yw0-f193.google.com ([209.85.161.193]:33884 "EHLO mail-yw0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751905AbdL1QCN (ORCPT ); Thu, 28 Dec 2017 11:02:13 -0500 Received: by mail-yw0-f193.google.com with SMTP id w128so8626953ywa.1; Thu, 28 Dec 2017 08:02:13 -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=PuFnWavRgbXBNxhHzQQQEGlMPwz4HPd0POWb46VwJNc=; b=peXElkXUkUPthUN5XMUCSWgc2qCBjr9kpNHsBmrFH5M1RNYqI/n7M8ktpM5H4G6FQ9 NOpQPCtgsoyyh16X24SfaUqQmwT9xaI9kEZgIjcN8Rxw+Ca3gec3HvHfLoPAOjWjFQ/Z gq+F9974PyU0JvRwW6uVuIDjspWQAEBiK/RVqFyU9EdqS99o6bfz9fQkAqZQP03pw81p SufRNidd/s2ZbpABsd5ZFjxRQQdbLgH/eufxq4lDYhJ46Wc/8W/yK0cKupXMoDnLD0Us B6i+7zRfl1qhXp8y5RnWDz+CuZ42OPDXqIUb5x7//c0xyFYs9TTZ8a1jjaUlaJdJ/FVu AZGQ== 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=PuFnWavRgbXBNxhHzQQQEGlMPwz4HPd0POWb46VwJNc=; b=DiCKhrsH58YVbUyRrIhAEZkUIBFBCyZmW+XXc3K5TfRAq5u0P4Yl+HnV1cNV8i6twZ a6elt2EQ33W2BYswmb5IBBICEilhfollxGfa8XYL6Gh2feZGAjAx2MHcIwy1Y4sU8ph9 2XA4+2u6ImRJuyJeep7EMJ9MDxjAMijRo20meSC5FffA0szDNVHyh2/nN1wUjs37R/fo hlY1i7pJeY3ijxJKlFdUJ5ReatXq0LDd/GDf2t8iNLD2YUDD0ejXnDouhcxHwWbaNQWh NnbFq6hy+pQMBpa9v2G8LsLR1vXXmwxKLzFGt0oqqDis9VzURyY4sG3fBD86L+zshabK diRA== X-Gm-Message-State: AKGB3mI8LRiDHqX/xxORaxxaLgNx78HuUAxaN3cl9vxgoCmFkO5wOahm ouaiguqzIB0mI6+A6tVHANM= X-Google-Smtp-Source: ACJfBouIPDYsCg/nLXCYvexfMj7sW5n8oLXcX+ASokue+aOtu/TF4NmrLOjLGCsPb227PwCz1ZvxjA== X-Received: by 10.129.114.65 with SMTP id n62mr20991483ywc.443.1514476933062; Thu, 28 Dec 2017 08:02:13 -0800 (PST) Received: from localhost ([72.188.97.40]) by smtp.gmail.com with ESMTPSA id o83sm15816182ywb.51.2017.12.28.08.02.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Dec 2017 08:02:12 -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 , Wim Van Sebroeck , Guenter Roeck Subject: [PATCH 2/3] watchdog: Change ISA_BUS_API dependency to selection Date: Thu, 28 Dec 2017 11:02:06 -0500 Message-Id: <4035bdd9c6ff2b9686e69c27e5eb887fd8f9a2bf.1514475654.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: Wim Van Sebroeck Cc: Guenter Roeck Signed-off-by: William Breathitt Gray Acked-by: Guenter Roeck --- drivers/watchdog/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index ca200d1f310a..c05d5d20eebf 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -864,7 +864,8 @@ config ALIM7101_WDT config EBC_C384_WDT tristate "WinSystems EBC-C384 Watchdog Timer" - depends on X86 && ISA_BUS_API + depends on X86 + select ISA_BUS_API select WATCHDOG_CORE help Enables watchdog timer support for the watchdog timer on the