Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2330249iob; Sat, 30 Apr 2022 05:54:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjbtmF5uJDtrHKWWL+R8+zW3G9VjD5yYnXqYgQuWsT5/JK5WTkLHdA+AAdqXNFkl/uJepf X-Received: by 2002:a05:6512:2312:b0:472:5de2:ddf0 with SMTP id o18-20020a056512231200b004725de2ddf0mr394644lfu.134.1651323258792; Sat, 30 Apr 2022 05:54:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651323258; cv=none; d=google.com; s=arc-20160816; b=RZxyAwEeBOGfynKCB/Bz5xR1H4O4Er8g3UWy/CVfAm+Xo2Tt4iQLu8ZossLGIyIX1/ zjVkUZ0d8j4bo/PnJnWpedbl8a6DGYqmlwQR47lEldQZQQcrnVTlpXwtUfSxS7FjojkY EkT6S+jJjl6DmImb6j/MDx82xV3M24COetHZf9oRYVnm1z0zytumvTkW5Ywyflozts/4 EE58p8XrUKSfoHMUYxWWogTcMb6F4Cpa1H5xeJlvrmE5sf6z+mMVKXYnQRf3R0ZU8G4/ SqGfqga2UagkZuKuVZ1FgekbEnwF4xes2JZI0v7qTACNMjBmWJJiNfV4+cDenO/X3Q1H C/hQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5TChM/Jm1YNQcv6uZ7hBq+xkdX+K5dvNl1xTNcUGSBQ=; b=aWSzTHzeic/QAbBVroyJXzOLio8ZZYMJaB8K+Qdv2zphomg6bCE7VoYZoiWG3Ky3LG g3CUiIBR07SR0tOGQ+utRzJOSb9n4LVxjA30NhWvacLcTJ9E1ls96AdzqLXxG6aNYKI4 ka0VZM+Z+k5bM39fJIyQUC06MG6WIdqCaGeR2i8B7vro6qPgXDOX9ex9odY81Z0lYI3I bTv0qB9KrMPGbRW/0wlUzpf8GRpRuI7EThR1kmlR9ZtH3uIHoF4xAALzbJ301ApB8Jw6 t4EzujHsysfIuWodUILqhyhpvZwgojS541yJUh+suXR+zcYvwJ5mg91d7YazbZSR3Ol1 dUmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=YEbFFFha; 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 e9-20020a195009000000b004706faf7feasi7915909lfb.401.2022.04.30.05.53.51; Sat, 30 Apr 2022 05:54:18 -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=YEbFFFha; 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 S1376857AbiD2N5h (ORCPT + 99 others); Fri, 29 Apr 2022 09:57:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376687AbiD2N4M (ORCPT ); Fri, 29 Apr 2022 09:56:12 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91B58CD32B; Fri, 29 Apr 2022 06:51:48 -0700 (PDT) Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 23TBZSqZ029789; Fri, 29 Apr 2022 13:51:38 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 : content-transfer-encoding : mime-version; s=pp1; bh=5TChM/Jm1YNQcv6uZ7hBq+xkdX+K5dvNl1xTNcUGSBQ=; b=YEbFFFhaAfXZED9GuEDSBE2Bw/Y3Vj9bnoCnVYizNlsG7MnhEGAGSXSmyWY1lwxuria8 T+Qs2A8O/B7NExtxk6fEXH57srar/PuIraHSwNSztIrri1P5biPjmxtwwHWngVr6DGna pPRVwrT7z9h+isXeTeXRp9FV9P/JKvh6SFN0EIulq8CUnVk9ByaY9CIeaUc7g+8DLAXC D3p1kbW8IFw3PU4KIbf3gh4yTJE8GY1Dwz3DRLCpLippq0BIRMmiahD2iCox7tOIZkkw HV3kVpj1qTL3QGUCFmzvbQVoP2PVGJzgY+mrI+PV5ki7HCJ9iP1B0+m1FoqXg6dTZh0J PQ== Received: from ppma03ams.nl.ibm.com (62.31.33a9.ip4.static.sl-reverse.com [169.51.49.98]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3fqv5rjk7s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 13:51:37 +0000 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 23TDQkng021533; Fri, 29 Apr 2022 13:51:35 GMT Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by ppma03ams.nl.ibm.com with ESMTP id 3fm93917ra-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 13:51:35 +0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 23TDpXDS21233972 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Apr 2022 13:51:33 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4CDAA4C04E; Fri, 29 Apr 2022 13:51:33 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EBFF14C040; Fri, 29 Apr 2022 13:51:32 +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:32 +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 , Jaroslav Kysela , "Rafael J. Wysocki" , linux-acpi@vger.kernel.org (open list:PNP SUPPORT) Subject: [PATCH 23/37] pnp: add HAS_IOPORT dependencies Date: Fri, 29 Apr 2022 15:50:38 +0200 Message-Id: <20220429135108.2781579-41-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> X-TM-AS-GCONF: 00 X-Proofpoint-GUID: eYIdm508_hLWSYbDLm5Lj5-3j4KaEQSL X-Proofpoint-ORIG-GUID: eYIdm508_hLWSYbDLm5Lj5-3j4KaEQSL Content-Transfer-Encoding: 8bit X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 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 phishscore=0 clxscore=1011 malwarescore=0 impostorscore=0 bulkscore=0 lowpriorityscore=0 priorityscore=1501 mlxscore=0 adultscore=0 spamscore=0 mlxlogscore=848 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 depend on HAS_IOPORT even when compile testing only. Co-developed-by: Arnd Bergmann Signed-off-by: Niklas Schnelle --- drivers/pnp/isapnp/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pnp/isapnp/Kconfig b/drivers/pnp/isapnp/Kconfig index d0479a563123..79bd48f1dd94 100644 --- a/drivers/pnp/isapnp/Kconfig +++ b/drivers/pnp/isapnp/Kconfig @@ -4,7 +4,7 @@ # config ISAPNP bool "ISA Plug and Play support" - depends on ISA || COMPILE_TEST + depends on ISA || (HAS_IOPORT && COMPILE_TEST) help Say Y here if you would like support for ISA Plug and Play devices. Some information is in . -- 2.32.0