Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp508303rwd; Tue, 16 May 2023 04:22:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Dp7VbP1WbsBSjeZkLzTWUHIG2Z+If1WZzM8mDxp66rmEh4KBqpm3rkH2qIblHWzNU1Fd8 X-Received: by 2002:a17:902:b707:b0:1ac:aaf6:ee3a with SMTP id d7-20020a170902b70700b001acaaf6ee3amr22810872pls.32.1684236157229; Tue, 16 May 2023 04:22:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684236157; cv=none; d=google.com; s=arc-20160816; b=y8ZcDVNbmz7B1JQdm65MAel0PoALMfheGFkdQNOjGEEiVDMq0hWj9TJ1cxBmkGZohy v3QuBhk2eHsMLt+BdaZ/9WVXNnlZ3W1BcMC3Vgalm63tokga7lT0LbW7YiRBznVlv5tl 43x6CCRQOEXNLp51sgd0nIrPnleLei7X1zDo0ENRc7WCwORWMUL53EDG07s7YDCriMlo XU0EUxXDky1utliBLEMkhanbwyvCbPqTODh422R1WgoaPrymho0cZfmGhYrYSRB6gQYL QprEzHkA+TeqUKT+8OYxlahFt+RDsWFOW3lLwOLcsjaKLB2T9eJ5ocZMH+54Y8PlOc0h klEA== 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=+CZFKwjlZw8+fbtdrGpi4YKigqcQta3Z8solxdmEXwU=; b=ZbSM0wScZXz8ZFO61tXGUhhcCUKa0xcwZkhYrQjS8tnIfzO3WAzG+WdTU5G7m0f3ZD pkMRoCDA/0zp2w7Wr+c4MGlVi51eDDb9QN/vpuSEmm+QltdV2NtPPEu7oxLfE5nOIInn NZcKwGrE2KLrRuni8iaa7u8wC7UHxPoMP+y1h9muaxrCxDDI76hSnIq4Hc+FHrXNVVR6 Lk+N+1O945Lm4OXt9jHNhDABz2Bb+ZfbV1V89ndlcM6j3b6U8igXKFBXxFp6e6E5PlIk 07MxD8a67COEohcpKstIBM7JbPT/3fv8cnlHSUyX73dZEDyCBs0xP/Tm/SFEolSuWE/b ELQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=jNchZ4Jl; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m9-20020a170902768900b001a6b6085041si17170328pll.512.2023.05.16.04.22.25; Tue, 16 May 2023 04:22:37 -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=jNchZ4Jl; 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 S232280AbjEPLDE (ORCPT + 99 others); Tue, 16 May 2023 07:03:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232343AbjEPLCa (ORCPT ); Tue, 16 May 2023 07:02:30 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 888F16E85; Tue, 16 May 2023 04:01:23 -0700 (PDT) Received: from pps.filterd (m0353722.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34GAjNbq031248; Tue, 16 May 2023 11:01:07 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=+CZFKwjlZw8+fbtdrGpi4YKigqcQta3Z8solxdmEXwU=; b=jNchZ4JlPJ85zLqPydO7V8SzC39nVMYm5xazFqQkbK6G1GnCHMTa1qrKcQt2S3rQ8gBr Z4PuXOQVgh/E9ebfmmMNylV/GhzH97OF6QAoH0OibEE1enoTBwnNEOXmYBkqZHbGVMhT TTz6XUgyVOO/8QKb6nAqKUprvXxuc+0whEZaW0MI9YZfV3pC3Xpxts0pyxIo0CaNgilk 18p0ob+Lq5WSGNxPaA8aQ8mbglqpBUNr0SLtM/ef2eRRv6TctPP0aiat5sIIwZPZTGze Err4SHOX86Elh8FNugI0CXdGOYsYgm+Qd/9qcZJUEgNx4R/r8SnPcvD05aTncW+khfSR yg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qm8bn0e6q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 May 2023 11:01:06 +0000 Received: from m0353722.ppops.net (m0353722.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 34GAsU2J032543; Tue, 16 May 2023 11:01:05 GMT 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 3qm8bn0e5a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 May 2023 11:01:05 +0000 Received: from pps.filterd (ppma01fra.de.ibm.com [127.0.0.1]) by ppma01fra.de.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 34G4aqr4028447; Tue, 16 May 2023 11:01:03 GMT Received: from smtprelay03.fra02v.mail.ibm.com ([9.218.2.224]) by ppma01fra.de.ibm.com (PPS) with ESMTPS id 3qj264saka-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 May 2023 11:01:03 +0000 Received: from smtpav04.fra02v.mail.ibm.com (smtpav04.fra02v.mail.ibm.com [10.20.54.103]) by smtprelay03.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 34GB109t22348386 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 16 May 2023 11:01:01 GMT Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CB8332004B; Tue, 16 May 2023 11:01:00 +0000 (GMT) Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 79B2E20043; Tue, 16 May 2023 11:01:00 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav04.fra02v.mail.ibm.com (Postfix) with ESMTP; Tue, 16 May 2023 11:01:00 +0000 (GMT) From: Niklas Schnelle To: Arnd Bergmann , Dominik Brodowski Cc: Greg Kroah-Hartman , Bjorn Helgaas , =?UTF-8?q?Uwe=20Kleine-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 Subject: [PATCH v4 24/41] pcmcia: add HAS_IOPORT dependencies Date: Tue, 16 May 2023 13:00:20 +0200 Message-Id: <20230516110038.2413224-25-schnelle@linux.ibm.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230516110038.2413224-1-schnelle@linux.ibm.com> References: <20230516110038.2413224-1-schnelle@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: wvAvXwQSGclw70tZyppaMBlt1RE1B7e2 X-Proofpoint-ORIG-GUID: DeywdtmKt-jjsoM2bxgELqjGwE0ZkFbP X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-16_04,2023-05-16_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 lowpriorityscore=0 mlxlogscore=794 impostorscore=0 mlxscore=0 phishscore=0 suspectscore=0 spamscore=0 malwarescore=0 clxscore=1011 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305160089 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, T_SCC_BODY_TEXT_LINE 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. Add dependencies for those drivers that use them. Co-developed-by: Arnd Bergmann Signed-off-by: Arnd Bergmann Signed-off-by: Niklas Schnelle --- Note: The HAS_IOPORT Kconfig option was added in v6.4-rc1 so per-subsystem patches may be applied independently drivers/pcmcia/Kconfig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/pcmcia/Kconfig b/drivers/pcmcia/Kconfig index 44c16508ef14..e72419d7e72e 100644 --- a/drivers/pcmcia/Kconfig +++ b/drivers/pcmcia/Kconfig @@ -5,7 +5,6 @@ menuconfig PCCARD tristate "PCCard (PCMCIA/CardBus) support" - depends on !UML help Say Y here if you want to attach PCMCIA- or PC-cards to your Linux computer. These are credit-card size devices such as network cards, @@ -113,7 +112,7 @@ config YENTA_TOSHIBA config PD6729 tristate "Cirrus PD6729 compatible bridge support" - depends on PCMCIA && PCI + depends on PCMCIA && PCI && HAS_IOPORT select PCCARD_NONSTATIC help This provides support for the Cirrus PD6729 PCI-to-PCMCIA bridge @@ -121,7 +120,7 @@ config PD6729 config I82092 tristate "i82092 compatible bridge support" - depends on PCMCIA && PCI + depends on PCMCIA && PCI && HAS_IOPORT select PCCARD_NONSTATIC help This provides support for the Intel I82092AA PCI-to-PCMCIA bridge device, -- 2.39.2