Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3691365iob; Mon, 2 May 2022 03:13:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIjqqM5xC1uQIs8nzbDLbNrd/3ZmEY5KWhj6jSgqS5Vx7TZN+ZgELO98j/nuEkv1fLxNfz X-Received: by 2002:a63:24d:0:b0:3c2:2f74:2ddb with SMTP id 74-20020a63024d000000b003c22f742ddbmr2624271pgc.83.1651486410327; Mon, 02 May 2022 03:13:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651486410; cv=none; d=google.com; s=arc-20160816; b=T3oEi/g1ZxD5oNbSJA7WGEZOKs5xgV4o/lUKngomZql+YH2ai0T9qaVpk8r+tqUU7o tpvBCw6crh7wtB6TdSmpqoZPY2R0H9OgGflJmIaddgMh0EBL1c+bbe8ZxiDRGBGOaW8R SGu4wF2NMlanDaceckWqfwCir2rSvY0zQHHEzzMd6bwlvpGYfo4GE9531aiHq3n2qUms 2mvfFsFj+SQihbfmbStC/D95IEFQUe2/0qr34Wzlwx6oyHB1k+88otFUWO2N2i08B7DF DTmRoZupeMh3JtFROHQWiK0R9ueM16clk7uU+gocluBwAFN5kQvyRnlaMloTcyKZZbNI zGRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+C8FlDhVWJtR+w96yXAxLPw9WZXAz/K2Ln7dWnWiEIo=; b=SfFXzxR3NP1CNpX1Rvwsp+vfLhD+KCtNdk7fqY4nC5Z9il4+u7+g2g+5eciajC1/WH 1kQjhArFnvEGembAVfO9vBX5+r5c9pP8KYolDeyj1scRQO87yn75q4K0yx+hMmhdRY1Q v1C9pt2czhrjKSxgMCgqO5Pp8pnT5ejUmW2UPKVNCiYCNpY8Pa5j8jB90EpxL5eRjAc8 qX6O+CrmalWkSSaubIxlN9NzfLWSWTu1jB3BOJ3KiIsyJbi76q10vYHMjkVwmr5x6aju Fw7XF9wJGqNeX6IJrPX0bSP275M3cNbSWymyYa1i9GUHjP6lSYt7X6q1h8SJXhGMdx4u 0T0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=kJHbpbdi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y13-20020a63fa0d000000b003981c32d7dfsi13336429pgh.144.2022.05.02.03.13.12; Mon, 02 May 2022 03:13:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=kJHbpbdi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376990AbiD2OAi (ORCPT + 99 others); Fri, 29 Apr 2022 10:00:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376965AbiD2N6s (ORCPT ); Fri, 29 Apr 2022 09:58:48 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B8DACFE74; Fri, 29 Apr 2022 06:52:30 -0700 (PDT) Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 23TBipZU027110; Fri, 29 Apr 2022 13:51:54 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=+C8FlDhVWJtR+w96yXAxLPw9WZXAz/K2Ln7dWnWiEIo=; b=kJHbpbdiDBt7LNtY+Th6TCy4QJaY9wcrslDYSzWFtG0doYHmR1QPueJYOKbyH/+LVvU0 SgLKFC6LRJBuvf8+Wjjghr0/+h8TnB0m2ujEOdgGXxxKUap7YLjxY59TGO45Zz4lnY9t 5YfTamzzY6q0s6A1wvy7ZzyincqfAa7gmgu4/nURn+AV0KZX3N4xhc+qhPOxnuSwRZwt L7nAXqTFbBsfH2OpzsTD1MnOTJfwRtxXl2IOn6tzPLroB0XH0WVCZSRwbY3b7UFnfOou jf75wy0MRjDWEScSSSaW9hImmbSM4uQ+JPU6piXtBJTN8gJAU2PRDPQXjw2X4v5Y07eg Gg== Received: from ppma05fra.de.ibm.com (6c.4a.5195.ip4.static.sl-reverse.com [149.81.74.108]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3fqundujwj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 13:51:53 +0000 Received: from pps.filterd (ppma05fra.de.ibm.com [127.0.0.1]) by ppma05fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 23TDSAZx025994; Fri, 29 Apr 2022 13:51:51 GMT Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by ppma05fra.de.ibm.com with ESMTP id 3fm938yage-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 13:51:51 +0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 23TDpnV714483722 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Apr 2022 13:51:49 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2414D4C04E; Fri, 29 Apr 2022 13:51:49 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CD4C14C044; Fri, 29 Apr 2022 13:51:48 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 29 Apr 2022 13:51:48 +0000 (GMT) From: Niklas Schnelle To: Arnd Bergmann Cc: Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-pci@vger.kernel.org, Arnd Bergmann , Wim Van Sebroeck , Guenter Roeck , linux-watchdog@vger.kernel.org (open list:WATCHDOG DEVICE DRIVERS) Subject: [RFC v2 37/39] watchdog: add HAS_IOPORT dependencies Date: Fri, 29 Apr 2022 15:51:06 +0200 Message-Id: <20220429135108.2781579-69-schnelle@linux.ibm.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220429135108.2781579-1-schnelle@linux.ibm.com> References: <20220429135108.2781579-1-schnelle@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: IIGdQ5oiWr_KNG9hqBv1KR3GAhts2IHP X-Proofpoint-GUID: IIGdQ5oiWr_KNG9hqBv1KR3GAhts2IHP X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-04-29_06,2022-04-28_01,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 clxscore=1015 adultscore=0 mlxscore=0 lowpriorityscore=0 spamscore=0 malwarescore=0 mlxlogscore=771 impostorscore=0 phishscore=0 bulkscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2204290078 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In a future patch HAS_IOPORT=n will result in inb()/outb() and friends not being declared. We thus need to add HAS_IOPORT as dependency for those drivers using them. Co-developed-by: Arnd Bergmann Signed-off-by: Niklas Schnelle --- drivers/watchdog/Kconfig | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index c4e82a8d863f..3242be37b2d7 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -453,6 +453,7 @@ config 21285_WATCHDOG config 977_WATCHDOG tristate "NetWinder WB83C977 watchdog" depends on (FOOTBRIDGE && ARCH_NETWINDER) || (ARM && COMPILE_TEST) + depends on HAS_IOPORT help Say Y here to include support for the WB977 watchdog included in NetWinder machines. Alternatively say M to compile the driver as @@ -1235,6 +1236,7 @@ config ITCO_WDT select WATCHDOG_CORE depends on I2C || I2C=n depends on MFD_INTEL_PMC_BXT || !MFD_INTEL_PMC_BXT + depends on HAS_IOPORT # for I2C_I801 select LPC_ICH if !EXPERT select I2C_I801 if !EXPERT && I2C help @@ -2090,7 +2092,7 @@ comment "PCI-based Watchdog Cards" config PCIPCWATCHDOG tristate "Berkshire Products PCI-PC Watchdog" - depends on PCI + depends on PCI && HAS_IOPORT help This is the driver for the Berkshire Products PCI-PC Watchdog card. This card simply watches your kernel to make sure it doesn't freeze, @@ -2105,7 +2107,7 @@ config PCIPCWATCHDOG config WDTPCI tristate "PCI-WDT500/501 Watchdog timer" - depends on PCI + depends on PCI && HAS_IOPORT help If you have a PCI-WDT500/501 watchdog board, say Y here, otherwise N. -- 2.32.0