Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp194141iob; Mon, 2 May 2022 16:52:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzA7AewjZMHsfUDAul9oeesOZ0Z9DZN2MvBYDMCaQo2L38177E2JM+9YOrD3B3KtLyFcHcN X-Received: by 2002:a05:6a00:1683:b0:4f7:e497:6a55 with SMTP id k3-20020a056a00168300b004f7e4976a55mr13289406pfc.21.1651535519750; Mon, 02 May 2022 16:51:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651535519; cv=none; d=google.com; s=arc-20160816; b=uipso97GgoR1aF50DW2woIRqw46xJ+5xwaCZQpNFC5HCTbhWGRq573U+P0fbIXt1Ua w9ddm/0LMtrqYCDQbTlUc2OOu1VC66hcyMHHJLJvV84R9wn5dcs30Kn0qx29LSV2GnbM SDexmclPQg3bRRgRuoTvpNRWdKnkPbdCDDqaBwF++LYncDoWmbr7DDuQ78F/qemD0ary qKXIx5adGKA7pDTRYwO9me/Hq6OhkaBHkuQacQc4A5/3DqBKrH6ll0KuJekWGrxOodGi iLeeza3e02PC0oqgY5Emukq/A1dUvJJO8/ictVViCDkIf/yp4mlz0yh7KtMZB9eqS71t 64JQ== 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=ux7WGOYQTV9h37Z49ZaM8dsH8V3TR0brUijZ9U0HcgUTb6J43eNj3peF/BRbCjkasp adtzVRasKM6icmB5rtDXw/Kj0CE27E+Ae22er2bHRc2HNkuZtQzMkHBDicGex+yMafcT z2wBc4EsvGzS50OpytAUe2jyMZDAn8XF3Jzkhmm311hkj6HuuqpHdyB36oGqf6PNkUUW rA13uq0T+44itxY4U/XD0dp0COVNREkfn+iS6XPFpDjfHqSZOMrUY4R/9Q6Frk2jBZXj CuQu/nrqoE5HBKxhWHzUljEzxJz7LbXPFQyVx+/ExNPVlJ0FuDkPcv8hgDI59ntbmSSM NuJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=fv5UhoLu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id v62-20020a638941000000b003ab0e9b4af5si14973194pgd.464.2022.05.02.16.51.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 16:51:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=fv5UhoLu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 672D433E34; Mon, 2 May 2022 16:51:54 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376651AbiD2N5C (ORCPT + 99 others); Fri, 29 Apr 2022 09:57:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376631AbiD2Nzv (ORCPT ); Fri, 29 Apr 2022 09:55:51 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7AA26E57B; Fri, 29 Apr 2022 06:51:43 -0700 (PDT) Received: from pps.filterd (m0187473.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 23TBo7o7018685; Fri, 29 Apr 2022 13:51:39 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=fv5UhoLuLxQQ8tAFOEsAeoFiggJt17zZxUTh2qGNh9ESRxWgZ0+t3sKVygnxREIM0twI Yq83GfGXB/4+MBv7T0ZIwcd3yKye724U//noqA0WsHX8ByQ/ZytoDG1Tl0QtC/OaDt8r i/MOKSXei7E5QOhDCP2lZz1ax/rwSHBKlHSHe6LQzti4ZeGWXN6VbtZgABdU0lJKnsFQ O5hB5Ev4n155EKyRZbKACNiLK7NXJhrOvfsXcci8L83sX5T9mRoytGzhanfUrKdf7k6T msVZGPYJYUSXcTrczF1u6Fd0Wbz9NT+X/cM9kUfWAqvTIDKEnliFsEA9Q4CIUyYe0pY5 RA== Received: from ppma04fra.de.ibm.com (6a.4a.5195.ip4.static.sl-reverse.com [149.81.74.106]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3fqvaq277j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 13:51:39 +0000 Received: from pps.filterd (ppma04fra.de.ibm.com [127.0.0.1]) by ppma04fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 23TDRnL3027477; Fri, 29 Apr 2022 13:51:36 GMT Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by ppma04fra.de.ibm.com with ESMTP id 3fm938yan8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 13:51:36 +0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 23TDpYcE46268908 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Apr 2022 13:51:34 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3A6634C04A; Fri, 29 Apr 2022 13:51:34 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DE8714C040; Fri, 29 Apr 2022 13:51:33 +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:33 +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: [PATCH 24/37] power: add HAS_IOPORT dependencies Date: Fri, 29 Apr 2022 15:50:40 +0200 Message-Id: <20220429135108.2781579-43-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: aWnywvJe2hu4UiE8u0p44GO3unugHSLz X-Proofpoint-GUID: aWnywvJe2hu4UiE8u0p44GO3unugHSLz 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 lowpriorityscore=0 phishscore=0 spamscore=0 mlxlogscore=868 clxscore=1011 impostorscore=0 priorityscore=1501 suspectscore=0 mlxscore=0 bulkscore=0 adultscore=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 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