Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3351122iob; Sun, 1 May 2022 14:42:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPeHEp+GPFoXKc0NM33ijkIvYBVh3jO8BhU1kxvQ6ctWx8FzBYz39X89IZwXW9Vw55spEo X-Received: by 2002:a2e:a235:0:b0:24f:1209:fcbf with SMTP id i21-20020a2ea235000000b0024f1209fcbfmr6488716ljm.313.1651441371493; Sun, 01 May 2022 14:42:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651441371; cv=none; d=google.com; s=arc-20160816; b=bscyz+T3Vybs7cS6PBN7svKmZOrr7B8ciB9dLWutXsa0dV7BUv26GDQ3LM+SPtXwhx J7RyUr500UMEHjeV9nq+wh2RlKUwxu8gFKixUxWPHREnbCKOOIHzt9TakGLKSLaQDrqO +oz4t2iF0uVhs2ir2Pqv9Yu9Bm4IJ0Sm8KMTruX9FzmB9a0xfCvABLbOh9bC7RJug1pt PHfGzPe0mPqCUHAMKCDr3UdQvdWKZ+ikhG+OLOvkWoVF5QBTMNVO3d1M86hn5/lcJDgD 5Vk8hogzOjnilKjrwdTZLAE2hSMk3QXh2YIlA8trM7LYYtf1ZsX3cu3/dXLd9LKgjTL4 e8kw== 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=WQikSu8FRs2nPjKD2v0CmoaAsO8mSKadr7xD58LfQlY=; b=U+F1oT60hII03dhOvI4r8JciIKvy3w8vWbXXsAbDUsZ1Yz/L7VhNmf3gx4RrcPQwu/ P6qI/q1HCJl/fTthlFpxeESxs1tKqQZ4fmkzoRU8N+zzkfq9PLWCcl0YOoxSUNP16tgQ imn+nqTY98r5q/5JwfeC/6dwVftusDKjX33a0Zk0Ox2Nqq9y4PIJxm9XaBPBRs0v7Gt6 tzC8IlO6LDJzI4+QCQ4EHT/gMfc8P51iZlyZ39zdsj+3sm4VcdKVEysxVXjEimtIo56j wH2ZTHS72kiqWAzoOtSotZBHCxaJrpC75Wxke2GY73UfmH3pvQkhSlilp52Uktxk1Lwx 5doA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=oy5zAOw4; 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 q16-20020a194310000000b00449fff2820csi12461927lfa.398.2022.05.01.14.42.25; Sun, 01 May 2022 14:42:51 -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=oy5zAOw4; 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 S1376429AbiD2Nyr (ORCPT + 99 others); Fri, 29 Apr 2022 09:54:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349313AbiD2Nyl (ORCPT ); Fri, 29 Apr 2022 09:54:41 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD4F655490; Fri, 29 Apr 2022 06:51:21 -0700 (PDT) Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 23TDheIq012545; 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=WQikSu8FRs2nPjKD2v0CmoaAsO8mSKadr7xD58LfQlY=; b=oy5zAOw44+1J1m2w3zaHr7lkJ6MQbI8cqGMdNGFY9TJmxQCZnYx3NuafWIomXvCJRmpd DhzeqCEQnA/VWD++zBjwe67hLqTprHwYu6Ey9dTbBzxen3FJ2pW0Rda9LFeXYzUiBqjX 277OuQ0nZortbo3+1QxN30fbXSC1XfzWexnoY2emKzCTy26mGrtJUpIAxc++/3PvyfNA g2IQl4Ua7pEJTrjC+MFVYKm59MeEnvt5kxDjwCe/8T/HcayyAVcmMobTtkwn4H5mG4tm fwje0VcVe3AoUMz6vGhEmdJHTtsf80qX1BRkG18WWyiicDRVU79fR3q/Y3XywISpDPxu Fw== Received: from ppma03fra.de.ibm.com (6b.4a.5195.ip4.static.sl-reverse.com [149.81.74.107]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3frh5eg43c-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 (ppma03fra.de.ibm.com [127.0.0.1]) by ppma03fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 23TDSdDc014014; Fri, 29 Apr 2022 13:51:14 GMT Received: from b06avi18626390.portsmouth.uk.ibm.com (b06avi18626390.portsmouth.uk.ibm.com [9.149.26.192]) by ppma03fra.de.ibm.com with ESMTP id 3fm938yat3-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 b06avi18626390.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 23TDc3wE49938756 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Apr 2022 13:38:03 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B92484C046; Fri, 29 Apr 2022 13:51:11 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 69D8F4C040; Fri, 29 Apr 2022 13:51:11 +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:11 +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: [RFC v2 02/39] ACPI: add dependency on HAS_IOPORT Date: Fri, 29 Apr 2022 15:50:00 +0200 Message-Id: <20220429135108.2781579-3-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-GUID: d1ELCjPoqZ29dDHgCGgz4Sf75syGZheU X-Proofpoint-ORIG-GUID: d1ELCjPoqZ29dDHgCGgz4Sf75syGZheU 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 malwarescore=0 adultscore=0 phishscore=0 mlxlogscore=784 clxscore=1011 impostorscore=0 suspectscore=0 lowpriorityscore=0 spamscore=0 priorityscore=1501 mlxscore=0 bulkscore=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,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. 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..8ad0d168004c 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig @@ -5,6 +5,7 @@ config ARCH_SUPPORTS_ACPI bool + depends on HAS_IOPORT menuconfig ACPI bool "ACPI (Advanced Configuration and Power Interface) Support" -- 2.32.0