From patchwork Fri Jul 19 07:27:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13736924 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 99CB0C3DA59 for ; Fri, 19 Jul 2024 07:28:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=Oc0NrGES/NcQS6JUrAaEleIcMsiQi3Bhv5VCa16NZJM=; b=2QNh0rjomBByE3ROPb/gcDKsXM 3F83mGWiBDO//2kC6WZHcRVtT6TDqMq7b6LiIt3zIQCE5W3E3vIDmtS0j2uRIANYOP4C7E/jfS0Iv tmXCE+OzS5YCPTuvsKJhOz8qzOivgf+x0H8tOKyRhnUuOcN19eTCqam3C1w23Tju4TE5vI5CSdffj 7edR2Xa6m5VThuk4wPSJeNei0rgPLF9Fk6NPcMofXmHEmnphZ5JiHGtxWCZffaJl6YD+QJjUp1WvV WP8PsyGnlTEN4xx4aajkay/OTxP6lkyGpZCOoFc9PYs1COUA0RploJvCKQS/cSRRFC0/P21qg5fBN Agd1Ve6g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sUi2i-00000001v0C-3pzs; Fri, 19 Jul 2024 07:28:40 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sUi2N-00000001uvZ-2Ttt for linux-arm-kernel@lists.infradead.org; Fri, 19 Jul 2024 07:28:20 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 5653861BE7; Fri, 19 Jul 2024 07:28:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BFC6FC32782; Fri, 19 Jul 2024 07:28:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721374098; bh=Ui8UaqyBTSE898Dbvr8zLZbCGmxQq7br3UP3Ob3yp5w=; h=From:To:Cc:Subject:Date:From; b=D+soXRwapxApziRw9qYeSuz57yKJml8YKkg1VRGVJXdBGvCMY0tJMLnYeW/Cufrpx VHs+VAAYJqHq0+H2gxP6MxreLyqjRESDFbujKtuQQRxoq0r4PjivcvXPq0NWq7uaWq siiYv6rMdOvpYx0zLuKujv9W4VkocztARdYqybe4a//1MlvRGYO59NK+1LB2aIl/iW Tb2z40+Bz73SBGutptKLLblNsJeBUL0sVaukeREawRFkqzatrEYwLsoApAWCAglrVS qwz53Y8ofG6Lmt5/XsNnpO46dB8eqeusPZ5eJhBTHhz/HTzywr6049RN3O6V2bLPr/ GJykETdKl74HQ== From: Arnd Bergmann To: Jeff Johnson , Bartosz Golaszewski Cc: Arnd Bergmann , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: qcom: don't select HAVE_PWRCTL when PCI=n Date: Fri, 19 Jul 2024 09:27:47 +0200 Message-Id: <20240719072813.1844151-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240719_002819_720033_CBD3F3A9 X-CRM114-Status: GOOD ( 12.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Arnd Bergmann The new HAVE_PWRCTL option is defined in the PCI subsystem, so selecting it unconditionally when PCI is disabled causes a harmless warning: WARNING: unmet direct dependencies detected for HAVE_PWRCTL Depends on [n]: PCI [=n] Selected by [y]: - ARCH_QCOM [=y] Add 'if PCI' in the qualcomm platform to hide the warning. Fixes: ed70aaac7c35 ("Kconfig: reduce the amount of power sequencing noise") Signed-off-by: Arnd Bergmann --- arch/arm64/Kconfig.platforms | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 9b62c63781ec..6c6d11536b42 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -266,7 +266,7 @@ config ARCH_QCOM bool "Qualcomm Platforms" select GPIOLIB select PINCTRL - select HAVE_PWRCTL + select HAVE_PWRCTL if PCI help This enables support for the ARMv8 based Qualcomm chipsets.