Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2747698rwd; Mon, 22 May 2023 03:55:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6nn5RUlVqDvDWaIIFStj2mRU3E5wlPB+Vr7CGdQMBl23fcrit2FrrxKZ89GMO9dhqpb8/D X-Received: by 2002:a05:6a20:2585:b0:f0:3e78:715b with SMTP id k5-20020a056a20258500b000f03e78715bmr12001211pzd.40.1684752901188; Mon, 22 May 2023 03:55:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684752901; cv=none; d=google.com; s=arc-20160816; b=hkb2mYgo3kcaZETIXLovt8kZ4cprT5lsIi0RRxN9CFzBzg9PbePr3NYarS5dJRrdQ6 n29tiAlf4n4cgPVBYxVs2ZCfPhWdyxQXbPefuNbMCrE454W1bpScYxcrIgz7QLeHAAN4 l9mDglt9BoZoZPnzOT1NbJfM/N2dSaHYaI/VuBsb4s3YffVZkPLKhCoN9YMZODurLiz8 yxOeUbUmvMh1Zohv7rZ2JAZhX0442zru0TKpvqCPy9+ZaLCOpAuBVVWITpvCPPrBb64H Wr80mANixI1igRkL2Ay5wAxRmlR6P0EKQSQhugD87MlsSBg8wjBMPLJG7Ji7/kFGeM4X BVGw== 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=dKfLoHPLieLGfuOq/Db847WlBv3dR+C2SQLGOgoYf3Y=; b=B6WxEKmBiO2Mc2/LUvcHN1iatoUA3xpK59jd9bIAQ0edZx0saF3kczdwRoYkQEEoPK 8naCUp1ZlYjSeIyEojwfl73NkSnpkZYJFSgoJJKKYkR9qv14GtPfZin7Bpdekc/UgwV7 Yca6A9ZgtP9X4rNHnBO8D8yH2J1gpqw3xy6+UjESi3F1SiA/ctHqR6SClnrgU+pqZGVF aq0ihgfE8payXeypcz5DwMov5m3bPAalpDZ2Qlc2IVpRdoW+zDo41mUr3kLTFNEfqljo CUBFD/BtaPpqT9A2TvX/vliUyRbVcR5LBB8dYjpPcMEA6umO+wL2IFcyR1um86Buueku iHHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=UfHn4y8O; 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 y63-20020a638a42000000b0053540008570si4477917pgd.764.2023.05.22.03.54.47; Mon, 22 May 2023 03:55:01 -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=UfHn4y8O; 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 S233006AbjEVKyD (ORCPT + 99 others); Mon, 22 May 2023 06:54:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233011AbjEVKwQ (ORCPT ); Mon, 22 May 2023 06:52:16 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31E5CE7A; Mon, 22 May 2023 03:51:33 -0700 (PDT) Received: from pps.filterd (m0353727.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34M8hwQs024922; Mon, 22 May 2023 10:51:21 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=dKfLoHPLieLGfuOq/Db847WlBv3dR+C2SQLGOgoYf3Y=; b=UfHn4y8OjIOokZuqeZUJZJzpa+B+qU7iFIPO9l9u1UekGtDrCIqcnFNfSpnlT7GRjKno exVD1jCm/V+0YZ+g0/Mf0plXWxv7G6S4m+3zHj6bBdklJoiN6+CTKwF/oJBGC5Swh7Qe 1bSK02+sU7NtRNlZQjwFjN+vM+m4ZNblwGxawzCTE5i5Mb/3Wk5taLcGDQnkYucbwP+t 8v6IV7tpB7uiwhFz5Dnzdg0sfYNJ7cXdOVBPnx9K0VizR9C6My+CfSFGqnl9fisEqfMu SElSqZduSitT9DhEAbvgtDrPbIRK0xK4pkO1tQqR4OH94x/N1X10H4agO/2FqBQpt/gq Kw== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qqgk8s34m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 10:51:21 +0000 Received: from m0353727.ppops.net (m0353727.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 34MAbKXd022924; Mon, 22 May 2023 10:51:20 GMT Received: from ppma04ams.nl.ibm.com (63.31.33a9.ip4.static.sl-reverse.com [169.51.49.99]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qqgk8s33y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 10:51:20 +0000 Received: from pps.filterd (ppma04ams.nl.ibm.com [127.0.0.1]) by ppma04ams.nl.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 34M3P0dr016258; Mon, 22 May 2023 10:51:18 GMT Received: from smtprelay07.fra02v.mail.ibm.com ([9.218.2.229]) by ppma04ams.nl.ibm.com (PPS) with ESMTPS id 3qppdk0w9a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 10:51:17 +0000 Received: from smtpav04.fra02v.mail.ibm.com (smtpav04.fra02v.mail.ibm.com [10.20.54.103]) by smtprelay07.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 34MApFTs58261996 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 May 2023 10:51:15 GMT Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 842DD20040; Mon, 22 May 2023 10:51:15 +0000 (GMT) Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2411B20043; Mon, 22 May 2023 10:51:15 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav04.fra02v.mail.ibm.com (Postfix) with ESMTP; Mon, 22 May 2023 10:51:15 +0000 (GMT) From: Niklas Schnelle To: Arnd Bergmann , Sebastian Reichel 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 , linux-pm@vger.kernel.org Subject: [PATCH v5 29/44] power: add HAS_IOPORT dependencies Date: Mon, 22 May 2023 12:50:34 +0200 Message-Id: <20230522105049.1467313-30-schnelle@linux.ibm.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230522105049.1467313-1-schnelle@linux.ibm.com> References: <20230522105049.1467313-1-schnelle@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: 5F9JYAt8_MT5CSlDrdJVjX3PB3dorMz2 X-Proofpoint-ORIG-GUID: vp5H0BZvp_k7S3sYvFowlTQ7dwtZNwOu 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-22_06,2023-05-22_03,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 spamscore=0 mlxscore=0 lowpriorityscore=0 bulkscore=0 malwarescore=0 clxscore=1015 priorityscore=1501 adultscore=0 impostorscore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305220089 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. We thus need to add HAS_IOPORT as dependency for those drivers using them. Acked-by: Sebastian Reichel Co-developed-by: Arnd Bergmann Signed-off-by: Arnd Bergmann Signed-off-by: Niklas Schnelle --- drivers/power/reset/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig index 8c87eeda0fec..fff07b2bd77b 100644 --- a/drivers/power/reset/Kconfig +++ b/drivers/power/reset/Kconfig @@ -158,6 +158,7 @@ config POWER_RESET_OXNAS config POWER_RESET_PIIX4_POWEROFF tristate "Intel PIIX4 power-off driver" depends on PCI + depends on HAS_IOPORT depends on MIPS || COMPILE_TEST help This driver supports powering off a system using the Intel PIIX4 -- 2.39.2