Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1767402iob; Fri, 29 Apr 2022 12:19:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrMf0O/Kb4NxDdoes5x6XYHx+oNDi248Pkwpvhl4KsZ6BHDOeRsRXtrBRIxIJ4U47Adb3L X-Received: by 2002:a17:902:7045:b0:157:144:57c5 with SMTP id h5-20020a170902704500b00157014457c5mr858358plt.86.1651259992328; Fri, 29 Apr 2022 12:19:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651259992; cv=none; d=google.com; s=arc-20160816; b=lLTMD88ACH5Pm2rtTCRq3GA9JnvwywYnINlOrylT4wIQhEyAFQDKWQsszYcHDp4Nz9 b/IxitSvd9r8lpTZ3EYD8KEOSeTxEF+ISDo4fCsZy49aA02VJXdbsFTtj6M/eX9hxELk 8SoHovS8Nyn9CG3STsDVydQvTc+OXtiwd4bqGXPBa5auHtOlazaPKWG0ubWJBKlvQXB+ +rw9hR2Hn97QKShAn5kDE6rQ6t4VMHzE15ijqBykJyUD+T/x+5JNPxn3aDBy6llcdvtS /z/PyNXEWe1wrHBhsABsogtth1+xUstj9va+6FBpwACvbTG7FR2Lp6FQNc5x72s90+0L ARvg== 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=64esgO81yLB/tFQVXXpxiKaK2wV0+w6I0268y8JWc7k=; b=rwvYdQVDZVGSTlprp6fWYeYg+Y0yG/SGMdTxAjhgqoJ26nd5KN+RFDDZdxpEpNSFDr Swyfn7xiNbOKgm1ekqO/10TvrYSROoaqI0oMoP6WMFegEJiG4+TOpbX6EScI67NCn8mM vgIPQpGILiLtm85/mLZYxqx3M1abck42usRSIQARRm17Ol3l5ei5aQXnNAwpC9iLKoTb uc7zLrSr1AUXnhkthRRWYer5TIshmdyEpaoxR9XDsTcpbLMkmfROeiLnXqFZIACVsoyK 9d9gOWrsztZpgjU9qwAuXeqdg3kNL4yQWN1DMGLRsqUhhY39zukGO3SLMrcW4CxAmUbp B0gA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=XZLcZQnL; 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 w1-20020a170902e88100b00153b2d16403si123436plg.11.2022.04.29.12.19.26; Fri, 29 Apr 2022 12:19:52 -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=XZLcZQnL; 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 S1376657AbiD2N5q (ORCPT + 99 others); Fri, 29 Apr 2022 09:57:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376689AbiD2N4M (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 D5B8CCD306; Fri, 29 Apr 2022 06:51:47 -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 23TAixSm029719; Fri, 29 Apr 2022 13:51:43 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=64esgO81yLB/tFQVXXpxiKaK2wV0+w6I0268y8JWc7k=; b=XZLcZQnL97tzbrqHKmKLgfSa204ZP8v1XNb2IB0Z9eDwV2f5stTxYc8N23tUNzslb/Xc yp+whTpd7Tv3cWETGaC9tPOeCR8Op2v1oFI+kcWd/tG6fa1q2dcnaOaWHUNqJE0y6Ktg K2kpQAmBpj6cvxgwHRTV5aIOLfb91SIhq8BYla1CabdS+NiI7dViucrJ11aCvBMjd8Iu O89uN3zpKKvH0grRleR1wFHpx1wt7qYtQdP2xucrfVjwwHnl/WlyVuQCHkgxcOMBadaR dOi3aH6TLRWc3620O7kh0yJXgzRk2Ys3i7FcPuJJt8Rruk9AubtzVuhKyVBuAmj/K9fE ZQ== Received: from ppma02fra.de.ibm.com (47.49.7a9f.ip4.static.sl-reverse.com [159.122.73.71]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3fqv5rjkap-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 13:51:42 +0000 Received: from pps.filterd (ppma02fra.de.ibm.com [127.0.0.1]) by ppma02fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 23TDQuvJ016011; Fri, 29 Apr 2022 13:51:40 GMT Received: from b06avi18878370.portsmouth.uk.ibm.com (b06avi18878370.portsmouth.uk.ibm.com [9.149.26.194]) by ppma02fra.de.ibm.com with ESMTP id 3fpuygb971-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 13:51:40 +0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06avi18878370.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 23TDpkD525035168 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Apr 2022 13:51:46 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 422414C046; Fri, 29 Apr 2022 13:51:38 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E6C134C040; Fri, 29 Apr 2022 13:51:37 +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:37 +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 , Sebastian Reichel , linux-pm@vger.kernel.org (open list:SYSTEM RESET/SHUTDOWN DRIVERS) Subject: [RFC v2 28/39] power: add HAS_IOPORT dependencies Date: Fri, 29 Apr 2022 15:50:47 +0200 Message-Id: <20220429135108.2781579-50-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: i4FEg9DTp51Xw3CnGxSuRtuLpGy9RV_n X-Proofpoint-ORIG-GUID: i4FEg9DTp51Xw3CnGxSuRtuLpGy9RV_n 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=1015 malwarescore=0 impostorscore=0 bulkscore=0 lowpriorityscore=0 priorityscore=1501 mlxscore=0 adultscore=0 spamscore=0 mlxlogscore=803 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 add HAS_IOPORT as dependency for those drivers using them. Co-developed-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 4b563db3ab3e..96b91eaca0cd 100644 --- a/drivers/power/reset/Kconfig +++ b/drivers/power/reset/Kconfig @@ -151,6 +151,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.32.0