Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp228803iob; Mon, 2 May 2022 17:52:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8DiU9mZf7TnBioxL5tgipBpJzwj6iSraavkelcdkXaVUb1XY9awzVTmWjxuqrJpA0jaXP X-Received: by 2002:a05:6a00:1808:b0:50e:eee:d78 with SMTP id y8-20020a056a00180800b0050e0eee0d78mr573175pfa.81.1651539131873; Mon, 02 May 2022 17:52:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651539131; cv=none; d=google.com; s=arc-20160816; b=sbS4y3QG/YwdJk1imGTpq6I/EC4aAxWCWtXeCEdCO5+3VAzCfsPrs6f09iywjeFDCx C4eQcHnTc/dX60BgRoJXQAxGQwbub35hcJHB7uZjqI2PROUX+QbR3cClvUkZkeRHWyGj nDesl7B090vtZySsGNCEkhYsQXUYFVHAB3Srbf2hfZVfM2zuZ2EXffI7QH2heF7PEwYr g5z/QHxFlu4pXldNXIGya8U7noiQQSsYhFvyXJsILVo9IFN/uO5u5lo0QorGR9ePjsdv q7MZ5CV5ijOvX/opr3z26KoqToqIaKTC1Mp2gW9tWfqGz8wRA2NS/HfBGVV9Uee4vUlE 3Xhw== 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=QTIFlKm70fxpDR/gqvsIxoDw+ZKzhy9FQr3I5EhoYF8RT3zlXoDU3FV3K65qiEi4ay jFL83YWEYJekmzslLteICc72ubKeCOrjyhW/IJEzeh7cGlILUB2gELCdiZApzqjJ6fqX Wp5mKebvPYs4HSlDEowTvmRsNqrrDdMWQfkHYcqgpbjVpD66C91ASMnniEjRbuEpA9iW piTSWSDLIOsFpwr4hQn0d55PtVdo92TqJTs3DUHhjWL3IwL7ugWx7wslFjxF2T0wYlzc hZvOcYEL6MSfquBIk3N+PzOYszJHVibqH0YK27FhyShItJVk6KLf9LwvuABKf8Lz5CgJ uWsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b="Lz4Z//5m"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id be3-20020a170902aa0300b0015b2d35b05dsi12407568plb.365.2022.05.02.17.52.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 17:52:11 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b="Lz4Z//5m"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7243E5045C; Mon, 2 May 2022 17:39:44 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376860AbiD2OBi (ORCPT + 99 others); Fri, 29 Apr 2022 10:01:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376840AbiD2OA1 (ORCPT ); Fri, 29 Apr 2022 10:00:27 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F15AF5A2EC; Fri, 29 Apr 2022 06:52:54 -0700 (PDT) Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 23TDh9RR012919; Fri, 29 Apr 2022 13:51:41 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=Lz4Z//5mcxert9dQsPfJM3/4TO/p3B+Vi5r7YA5FdpTVN9a6+q+H8GxfLEvPOm/EQ/WX XAa9jvoGHPEj5aBvH63XIuz1yIgiSmVRlcgi4VwTe9flGghhTlq57CHmvm0fhAEIMkRg 9jLn92HxXdkMJa+92clL4HWlIM/jue1o62vEDgxB6QNQ0uN6MwRRCQkf7kcWw3O1BuZg jES4u5EphJstoDuPb0KkvHLgnkSVVfEzvLyMsteLXshajtQZvmM21tS9AopcXRuVwtF7 Rg3/zPz2x3qYSB/aq8FZrQo746uPT3y+lm0klLIgyERBRqLUOrXOzwd26GVUtPaXzpeu Ew== Received: from ppma06ams.nl.ibm.com (66.31.33a9.ip4.static.sl-reverse.com [169.51.49.102]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3frh55r5u9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 13:51:41 +0000 Received: from pps.filterd (ppma06ams.nl.ibm.com [127.0.0.1]) by ppma06ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 23TDRu3L004596; Fri, 29 Apr 2022 13:51:39 GMT Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by ppma06ams.nl.ibm.com with ESMTP id 3fm8qj9895-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 13:51:38 +0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 23TDpaQH48169268 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Apr 2022 13:51:36 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C01984C040; Fri, 29 Apr 2022 13:51:36 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6B4E84C044; Fri, 29 Apr 2022 13:51:36 +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:36 +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: [RFC v2 27/39] pnp: add HAS_IOPORT dependencies Date: Fri, 29 Apr 2022 15:50:45 +0200 Message-Id: <20220429135108.2781579-48-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-ORIG-GUID: tlksmviBHz0Crp5drM1RX_9QEy_lRsHB X-Proofpoint-GUID: tlksmviBHz0Crp5drM1RX_9QEy_lRsHB 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 spamscore=0 malwarescore=0 lowpriorityscore=0 phishscore=0 bulkscore=0 mlxscore=0 adultscore=0 clxscore=1015 mlxlogscore=783 priorityscore=1501 suspectscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2204290078 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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