From patchwork Tue Mar 14 12:11:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Schnelle X-Patchwork-Id: 69575 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1721781wrd; Tue, 14 Mar 2023 05:18:04 -0700 (PDT) X-Google-Smtp-Source: AK7set8IEoDwEEMEczWi5FegzJ8TpRxEw1UUpz2Q/FQOvPjIf8+gVew0urqFJtp/iye2CgrlV09I X-Received: by 2002:a17:903:2352:b0:1a0:51d4:f055 with SMTP id c18-20020a170903235200b001a051d4f055mr5290692plh.49.1678796283742; Tue, 14 Mar 2023 05:18:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678796283; cv=none; d=google.com; s=arc-20160816; b=uVA28im0h2oI7dvqxNYdBaNuunSQmY8ddnxbmQAD0uobtATiLOYXl59sKNMBfgx+Rm fDPi6Xwb+LFMn/RFUzVcEKHUdG5GUb66Bf0soo4As+5PECcGkLpUh0gVV4SzkZuFPmd1 uSeoKZcaWxpY30LFpzWnHDHthGtbhN9c9t8SndP/MuRgTXDDtsk23/YSQfGkxEvAcJTX lWqErcPlaPbRF/FzMry+0oUbDQkufjGpm96IgqyrF8L8oPs+0zU2QpsuGjI+1R1OXz9z UOh9OsVv+2oUmYANe605r+WXE9K12IxjI/YfjCV3I0k6qX+u9o1rtsNNJf2Vj+0PsjDQ kv3A== 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=c1nBZ/Aty4yn3eI9JXVx2oMkWiRKzUI1i4sNGxx8scs=; b=QOxi+0pYt+Y9dTARisAjYbzbakHXZDwEbGCAgQ2sClGLpmRB96ybdd3xS1Nd6j39CB gIzTvNBPuXQmoV3TL7dylrWiR2CCpbvWiRSRFTAfyZB/MRkURLP5W83jBJx2SLY3VA5f Xt7nyn5oiiUWNlZH5OEoQioB6RuodcgX224cHx1ov4BJs4Nygi6EEeopuNvg3bk29TdB zoLnXNpSXRGkTqzLS6o3PMVR4EXTfqmKV7wSvmG1AkFU5hcsE1krsA3swXd8pPSrYzBW LKdw7rH2asycQNAxBnHQOBGyZd29/LmDJJWcHUXT6KL99C7y0lxxplY4acGB3zdA0CSz LP+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=ClwPTJpZ; 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=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lh4-20020a170903290400b0019ea9a23140si2306908plb.309.2023.03.14.05.17.46; Tue, 14 Mar 2023 05:18:03 -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=ClwPTJpZ; 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=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231932AbjCNMPu (ORCPT + 99 others); Tue, 14 Mar 2023 08:15:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231875AbjCNMOm (ORCPT ); Tue, 14 Mar 2023 08:14:42 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C14321ABD0; Tue, 14 Mar 2023 05:13:25 -0700 (PDT) Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32EBWq7d011994; Tue, 14 Mar 2023 12:12:33 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=c1nBZ/Aty4yn3eI9JXVx2oMkWiRKzUI1i4sNGxx8scs=; b=ClwPTJpZ1oHQFNDJI3aetoSqmC08t2/rweqN72xKZp+qKBHAktfNIbPN+zUpCQdbzDK8 eQl8NIwsoAZJH2eqkmwZF7yYRgiJiMbhEtinD1Kl24XdHIft2XpPadsdG47e/pCfVRcL TW0OQU7ybeUV4EWJM2oStJsSFlr9b945MTTrAKLZaXmgjPCn5sjhvFJSAnNOe5maDvXW q3ldHESzn41eagst/R2CpHRlP1hxUhh1/YgRC/hdsB1VouxUgdSitgIFmkiVPcIz5H/g Efri20chwBkBcZKXmpEDAqx3pCtmidHC2nwqYISdkjzwMzn1c5XA6MMrY7cvjDtG7v3T hg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3papkwkk2s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 12:12:33 +0000 Received: from m0098404.ppops.net (m0098404.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 32EBUc7m030892; Tue, 14 Mar 2023 12:12:32 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 3papkwkk1g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 12:12:32 +0000 Received: from pps.filterd (ppma04ams.nl.ibm.com [127.0.0.1]) by ppma04ams.nl.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 32E81qgG028609; Tue, 14 Mar 2023 12:12:29 GMT Received: from smtprelay02.fra02v.mail.ibm.com ([9.218.2.226]) by ppma04ams.nl.ibm.com (PPS) with ESMTPS id 3p8h96msmk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 12:12:29 +0000 Received: from smtpav05.fra02v.mail.ibm.com (smtpav05.fra02v.mail.ibm.com [10.20.54.104]) by smtprelay02.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 32ECCRJ639059786 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 14 Mar 2023 12:12:27 GMT Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CFFBF2007B; Tue, 14 Mar 2023 12:12:24 +0000 (GMT) Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5AE122007D; Tue, 14 Mar 2023 12:12:24 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav05.fra02v.mail.ibm.com (Postfix) with ESMTP; Tue, 14 Mar 2023 12:12:24 +0000 (GMT) From: Niklas Schnelle To: Arnd Bergmann , William Breathitt Gray Cc: Greg Kroah-Hartman , Bjorn Helgaas , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Mauro Carvalho Chehab , Alan Stern , "Rafael J. Wysocki" , Geert Uytterhoeven , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-pci@vger.kernel.org, Arnd Bergmann , linux-iio@vger.kernel.org Subject: [PATCH v3 05/38] counter: add HAS_IOPORT dependencies Date: Tue, 14 Mar 2023 13:11:43 +0100 Message-Id: <20230314121216.413434-6-schnelle@linux.ibm.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230314121216.413434-1-schnelle@linux.ibm.com> References: <20230314121216.413434-1-schnelle@linux.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: 9gz5GJ9jebM606j3CdIIornp3R6Yv1um X-Proofpoint-ORIG-GUID: lpth_ukeJ7Kr9Nthm27d9x389IjR2lH7 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-14_06,2023-03-14_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 adultscore=0 impostorscore=0 mlxscore=0 lowpriorityscore=0 mlxlogscore=999 suspectscore=0 priorityscore=1501 bulkscore=0 phishscore=0 clxscore=1011 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303140103 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760345491982727661?= X-GMAIL-MSGID: =?utf-8?q?1760345491982727661?= 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 b5ba8fb02cf7..1cae5097217e 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