Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2285100iob; Sat, 30 Apr 2022 04:44:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyIDKZ+N3slTjUSh3rIETwMvFIrnLlOMUfsiCrXG0DUoncwR8Xw12dUPXgdB+gduDaosDwg X-Received: by 2002:a05:6a02:19b:b0:39d:cfa:5cda with SMTP id bj27-20020a056a02019b00b0039d0cfa5cdamr2837469pgb.175.1651319070722; Sat, 30 Apr 2022 04:44:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651319070; cv=none; d=google.com; s=arc-20160816; b=TaONlH6uWQ+/6ZKNeO4ZeZWmE58I6X0f/m67BT6kenlHClypiZToxdA3r/62VEOqns /MMdrnZtoOKqGHOb0b4OyXqrH8x1PBahOar/f1m5aZTg+6DEdqdPt8xN9MMxy1mH8Uot rCIGNtjlMCFaVHd7cC1C1w7kBD0lSVsRQQHDNIhJuCIjjgdx+kaCtd9QlkgNlAC7xgNy bZbUrSpNOUCbSniyzQXzWCP02bNq5aB0PK9KNWbcZcKckUVHOeszwP0bDdCQ2FFD7r2m qwzCK0i5nniX9CHfDeNIXL++IqJkMoNmCTYHaq7eMJhXcJYGPTwPjirDiqOP66vJcKZJ NBGA== 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=Eq0FMquyakrOETyRO4K7GtqDNLFbcsjoIDDRXzFTiyc=; b=KseB3Gpo3REptLr7IVpLg16H/UloKFi4sqlHrMwN2RMxjRu9oNyc8nXTBCJkWNs7Al CdJUxDAu2fT/cx3cbcUq6o4/eAv+6mgE0dQovCHT4PcCCYYTEqXrakmBJijGXVoTPRd+ 2ZPSHNewNBX1HxMyuAetgpCaU17rt5aSzF0uiVL1x7MtVa0/9vpjU3zU9gbJ4EXn5OhI PlAI8TeV/Q5JZSf8b0QQ732vrc48ZpHZRY9i5waYkdu1wGhm/5YOOWkgjsC8qISORXzD ORtTIKuFIWB9gZWFUJWWJagzQx4ZiSajzHkyCI2vicVw8rfX1EJhWjCkCUoAhzJF/dJm splg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=QqbGJ3mr; 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 d22-20020a63fd16000000b003aaa7b5e5f5si9396010pgh.757.2022.04.30.04.44.14; Sat, 30 Apr 2022 04:44:30 -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=QqbGJ3mr; 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 S1376347AbiD2Nym (ORCPT + 99 others); Fri, 29 Apr 2022 09:54:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236916AbiD2Nyl (ORCPT ); Fri, 29 Apr 2022 09:54:41 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9229E562D9; Fri, 29 Apr 2022 06:51:21 -0700 (PDT) Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 23TCc7IM017289; Fri, 29 Apr 2022 13:51:17 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=Eq0FMquyakrOETyRO4K7GtqDNLFbcsjoIDDRXzFTiyc=; b=QqbGJ3mrfKHIFVv4t8ug3JJf/R51KEnMkHAqiXqPI+dHa95daxda4JD5J3LaYV25Zo3u 7XHom8H0+UktAzPNzuKAF5BD/qzgWm9ZQ3rLvBbT1AdRo2UadgDs8dyIDVvVbKlL1li8 iZ1X2T05vc+HF/MpAI6tVO8QTtll8CI7IBByuT/mq54fdrG57XJVI2UZ8p6pZ/y5mzk8 /5eigxyvvF/Kk1Xo2YagAwqg5ctqdMiPa0RGLo+2sJ8tjhH9s2fcpZS6X69hyJ9bmiwo u0m46Lp+nLb15MdQ/w4qLUhQAIcSRiB8iF5u2im0V9St4zui0VAjLYHoUZNxDRS+88iw 2w== 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 3fqqtnsuc6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 13:51:16 +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 23TDSDwO005080; Fri, 29 Apr 2022 13:51:15 GMT Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by ppma06ams.nl.ibm.com with ESMTP id 3fm8qj988q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 13:51:14 +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 23TDpCtY33882452 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Apr 2022 13:51:12 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B65D04C04E; Fri, 29 Apr 2022 13:51:12 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6702C4C040; Fri, 29 Apr 2022 13:51:12 +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:12 +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 , "Rafael J. Wysocki" , linux-acpi@vger.kernel.org (open list:ACPI) Subject: [PATCH 03/37] ACPI: add dependency on HAS_IOPORT Date: Fri, 29 Apr 2022 15:50:02 +0200 Message-Id: <20220429135108.2781579-5-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: lTqkzfDWJP9KC-JHFCnLf7dyrcsW4Qkv X-Proofpoint-GUID: lTqkzfDWJP9KC-JHFCnLf7dyrcsW4Qkv 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 mlxscore=0 bulkscore=0 adultscore=0 impostorscore=0 malwarescore=0 suspectscore=0 phishscore=0 priorityscore=1501 spamscore=0 clxscore=1015 mlxlogscore=859 lowpriorityscore=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,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. As ACPI always uses I/O port access we simply depend on HAS_IOPORT. Co-developed-by: Arnd Bergmann Signed-off-by: Niklas Schnelle --- drivers/acpi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index 1e34f846508f..c90c983db94c 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig @@ -9,6 +9,7 @@ config ARCH_SUPPORTS_ACPI menuconfig ACPI bool "ACPI (Advanced Configuration and Power Interface) Support" depends on ARCH_SUPPORTS_ACPI + depends on HAS_IOPORT select PNP select NLS select CRC32 -- 2.32.0