Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1544577iob; Fri, 29 Apr 2022 07:36:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzATyqWEOjgRgovS7uO3g2m1zgtFvYYRvWIV2XeOOxHahAsxlrh4M6icE1j5sjxV21jFnKF X-Received: by 2002:a63:e048:0:b0:39c:c3a3:cfb5 with SMTP id n8-20020a63e048000000b0039cc3a3cfb5mr32633169pgj.579.1651243000637; Fri, 29 Apr 2022 07:36:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651243000; cv=none; d=google.com; s=arc-20160816; b=FA4WyUxGGLc5Id8tjDEWO0om09Y1MIraoYj0pAcvqdvqwDa+DjZTiWpFVE3lIl082f xuLTgmu+bSGUcN2qp9+uZvdLyjYYE8kxhhYETrDZFuhvJUC1qkh+DAwz8eBXT3tuuALK QaAtuKNOL02+K2JSPZm1S+T7SN+esyEJMRbYDd1deltWtKCIDgNNxha+f5Sw300uqBxJ JJZeDNv5xLXCdg/E8nzjRDIeUt+/Db1NPwNeNoyoWxDsMDqd/XtR1Nd7Ta7/v7OZABiP 7qeu1sx4JPSLg0h6dBcJIl9HoqXQU5gqj7vx0aHgbq29ci23/8jYnmcjpwF7Zz4nE0dR HHGw== 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=gxQ9WnE1svvw6LZtpV1+jHnDaqh9UzLIIneEs7dOelU=; b=faiq3qCPIPSFadkUZbQvdBYu43F6F8MwaGlOAF15R/EEitD3wFu8jcb/XbKuUlBmDb fW7RdloBXu9Y1iZUSF+fuvCj7W/Ytg74/E8nqP0iWEVJsOeTisqJPRt5pJFD9PuqohSk +Qc5cQFDmKjM3g5NGXfl/pxiBLiVFir6TqpVJ9wYXY+pLYHsZ2NjDvnnEGEhSynmRRz0 eP6doRBntXfnODPl01eVNcCrdmIOMiCB+k61lMA6PYLadFDJy7qpApVzRCjyEiQ5yRg1 gXHKxkKsdXbpbcsFE9RebfrfwEdPZLekuxN6u3jvHr2L1QCuJJpYBkjhOxI1sdm4+0r/ hHJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=Xg0XSnuX; 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 n12-20020a170903110c00b0015d1ea26844si9065937plh.314.2022.04.29.07.36.23; Fri, 29 Apr 2022 07:36:40 -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=Xg0XSnuX; 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 S1376454AbiD2NzE (ORCPT + 99 others); Fri, 29 Apr 2022 09:55:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376414AbiD2Nyo (ORCPT ); Fri, 29 Apr 2022 09:54:44 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 479BE583B0; Fri, 29 Apr 2022 06:51:26 -0700 (PDT) Received: from pps.filterd (m0187473.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 23TC681r018620; Fri, 29 Apr 2022 13:51:21 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=gxQ9WnE1svvw6LZtpV1+jHnDaqh9UzLIIneEs7dOelU=; b=Xg0XSnuXL4p4N40c1RBsYefkg2/7sVya2UtvB2SET3ImAzEN5IlCZ9QE6MA5ZdMPqNA1 Q52HHTd4gU4Hl51hPCf4zmsQnkHi0dBmyEd17NFVrbqaVv8+kVSFUVJZxt9AnDw77jBG 0Skg3lhfef4ywYoJjnqiqIyRsUo/WmVaJJkDcOR7MX2H1gzDVbG4RP4pjiBviLLqDxEL LQQ9HS70hjOBNElzkuKxX7DQwRiURVvpFPhXEgwThYK8nB57eku66b8QQN8opI/gl+fv A2P0SR4Mr4HZ+VA1RCeMs8Kyj/Ke6JPSyG5O1fplUa0qCsN4SC1WkC0F5awHhNpik+TR Dw== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3fqvaq2708-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 13:51:21 +0000 Received: from m0187473.ppops.net (m0187473.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 23TBV3NV006585; Fri, 29 Apr 2022 13:51:21 GMT Received: from ppma04ams.nl.ibm.com (63.31.33a9.ip4.static.sl-reverse.com [169.51.49.99]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3fqvaq26yh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 13:51:20 +0000 Received: from pps.filterd (ppma04ams.nl.ibm.com [127.0.0.1]) by ppma04ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 23TDQr85014269; Fri, 29 Apr 2022 13:51:18 GMT Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by ppma04ams.nl.ibm.com with ESMTP id 3fm93916w3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 13:51:18 +0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 23TDpGcs46596368 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Apr 2022 13:51:16 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 611B64C044; Fri, 29 Apr 2022 13:51:16 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 11B384C040; Fri, 29 Apr 2022 13:51:16 +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:16 +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 , William Breathitt Gray , linux-iio@vger.kernel.org (open list:COUNTER SUBSYSTEM) Subject: [RFC v2 06/39] counter: add HAS_IOPORT dependencies Date: Fri, 29 Apr 2022 15:50:08 +0200 Message-Id: <20220429135108.2781579-11-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: BKecIMTN30Vc3PpZqpLbVTWamL7xSbru X-Proofpoint-GUID: z6CuRRobjjK1tGaRDRxfNYN-MYbJHDeG 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 malwarescore=0 lowpriorityscore=0 phishscore=0 spamscore=0 mlxlogscore=946 clxscore=1011 impostorscore=0 priorityscore=1501 suspectscore=0 mlxscore=0 bulkscore=0 adultscore=0 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/counter/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/counter/Kconfig b/drivers/counter/Kconfig index 5edd155f1911..09e18a0eee36 100644 --- a/drivers/counter/Kconfig +++ b/drivers/counter/Kconfig @@ -15,6 +15,7 @@ if COUNTER config 104_QUAD_8 tristate "ACCES 104-QUAD-8 driver" depends on (PC104 && X86) || COMPILE_TEST + depends on HAS_IOPORT select ISA_BUS_API help Say yes here to build support for the ACCES 104-QUAD-8 quadrature -- 2.32.0