Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1587952iob; Fri, 29 Apr 2022 08:27:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxnFA5keLiJHwcWnj3eh/QLgW5NY9KKkr6rKnfimSIFaeHFG42BzZ7W+zsDFwT4+ZszEd1U X-Received: by 2002:a2e:2d11:0:b0:246:3c3e:d544 with SMTP id t17-20020a2e2d11000000b002463c3ed544mr24530488ljt.518.1651246066851; Fri, 29 Apr 2022 08:27:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651246066; cv=none; d=google.com; s=arc-20160816; b=rqf4YYCe+Hm0Y940ifaX825o2t/QtwG++27mEmVLvkNF3LNQJDC97zyjHkJ/GGFOCS yfohQjc135dD1k/x9jjBKT6VQJLe9pL9Ae+9EzHnT+E99EuhbDL+hsEuQE0+rLnLQ5Nx Dp0WgidPSQpzweP+LocZi8UBcVWfPEYy3/o01XR2lYnK2zXAf+aAK/yuf3LETbcVdmyV 1fSe18AYdnJWNvrA0bmL99aKg7z9svMRSs25DtlZqAAa0ngDSX5ozs2xHrGrTXghy0vB N1UgAIljuOQ/aGDtxboPiQO49xN3PkxBdDiP90EfwXa9tjyxiyGXjsbZX+M6yF0P1IQd rwjw== 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=Lg5DIIhV3DiDBimrH2nhbw9B4JqLf2GcU4tSIHuq7qkpsyzU+CylQowGAjn3g8vPHR U83Puz6tlqcDfhODfisJgpbh3YbLGW9d44ykt47s61x91V9tJoXzeD1r/ZMeoX1GDHpc CY+8+R9ikydJsQvx5grgCGetjeFtqPZ15YBJ96pV0HRa9nkrdED5eVDcPfTsdNI6U7bt rJerAEGd3+77HpnGUAgZa3H3bcpd26o3FFOmgXVG2KknEBVVxnUcHpGmOhgUFGrLgZ4K FHaH36gvT2C3wz3AJxrdOwg/z8MWWZuohDCuHTtvD3hvSVWrS8IR456UzZNGLGFDO+wG f0nQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=CPx7e9v8; 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 bq13-20020a056512150d00b004722f0cce31si7961396lfb.372.2022.04.29.08.27.18; Fri, 29 Apr 2022 08:27:46 -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=CPx7e9v8; 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 S1376548AbiD2OAF (ORCPT + 99 others); Fri, 29 Apr 2022 10:00:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376829AbiD2N5V (ORCPT ); Fri, 29 Apr 2022 09:57:21 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6944CFB8C; Fri, 29 Apr 2022 06:52:12 -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 23TBjftJ027272; Fri, 29 Apr 2022 13:51:46 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=CPx7e9v83GZ1g/pvUbuUZVqNFk2aW1a7ec8+ZlRY/qM/6L+ahZ+RNCVmKJnRwzqNV++D cxdl6/KXnal3HMjBIqG/0l2kFd8t3mskkR2Qum9g/iqkWDJOeyQ+45TQW5E72UYPl4+N /z2LwxBgI2F5lN3diyCnPqevLJej16CiWu2+sN2AVjw98MKp+gTf6tmacdwY+XMjxj+M oAgTc8vLyi9nUemQ2LmHn+PK+x/zKLZbcZZVL8+zXtFiHhlq+s7ZnlAy/mkX+bBLB1lG oS3em+6Yq+T+5eMyCjAa6H1LvlB0GP+rIqPbQxPH2bxkNLgzuaB3BNRH0ssmpliA53yc nw== Received: from ppma01fra.de.ibm.com (46.49.7a9f.ip4.static.sl-reverse.com [159.122.73.70]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3fqundujts-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 13:51:46 +0000 Received: from pps.filterd (ppma01fra.de.ibm.com [127.0.0.1]) by ppma01fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 23TDSWZU024572; Fri, 29 Apr 2022 13:51:43 GMT Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by ppma01fra.de.ibm.com with ESMTP id 3fm938yac7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 13:51:43 +0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 23TDpfYQ51904820 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Apr 2022 13:51:41 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4835B4C04E; Fri, 29 Apr 2022 13:51:41 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id F13184C040; Fri, 29 Apr 2022 13:51:40 +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:40 +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: [PATCH 30/37] watchdog: add HAS_IOPORT dependencies Date: Fri, 29 Apr 2022 15:50:52 +0200 Message-Id: <20220429135108.2781579-55-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: dGJViNfn9kW-AcmsD2uPJMeKTlkEinsO X-Proofpoint-GUID: dGJViNfn9kW-AcmsD2uPJMeKTlkEinsO 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=1011 adultscore=0 mlxscore=0 lowpriorityscore=0 spamscore=0 malwarescore=0 mlxlogscore=836 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