From patchwork Wed Dec 15 11:29:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hector Martin X-Patchwork-Id: 12696265 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 78FE6C433EF for ; Wed, 15 Dec 2021 11:31:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=6WDa59WJ1HXjn8U/Lex3D6b8X1Vr6mxPTqZo+X6/1dk=; b=EVhRlJXAN/tzYs +vgWGdjU3hoTA31YGZ18kAEk/e+gHMfdZWxKV4UvhqhYRri1ib4RZBSDqqWZ8z205D/Aw1cn26JAa Ts4wdtDrNonZO5bKqU8jtEE3R3xfCrvhOsz4Xo/6HvuuoolvbnfnXQVQYKa69Gr5z0fJbUIWX/Z+L mQYSvhYtxNoBwzTSnbtEAoU+C0ApNL8bwpDVYwMJrRgV0zeFvZGPp3YqDox+zpe8REbm2ennvfPio /HbgnYMQqAyG6m1uT+EHBXa9ixo3vqgwuLnvRM1+hYDvZwxAWJfLCIoYLclVumkCYTeGEiqn2XlOC mL5tyyONwzTabAQ5PBVQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mxSTz-000aXJ-8J; Wed, 15 Dec 2021 11:30:03 +0000 Received: from marcansoft.com ([2a01:298:fe:f::2] helo=mail.marcansoft.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mxSTo-000aST-V4 for linux-arm-kernel@lists.infradead.org; Wed, 15 Dec 2021 11:29:56 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: hector@marcansoft.com) by mail.marcansoft.com (Postfix) with ESMTPSA id 1954F421F5; Wed, 15 Dec 2021 11:29:42 +0000 (UTC) From: Hector Martin To: Sven Peter Cc: Alyssa Rosenzweig , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Hector Martin Subject: [PATCH] soc: apple: apple-pmgr-pwrstate: Do not build as a module Date: Wed, 15 Dec 2021 20:29:35 +0900 Message-Id: <20211215112935.238561-1-marcan@marcan.st> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211215_032953_198132_ECA1DA20 X-CRM114-Status: GOOD ( 10.39 ) 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 This doesn't make any sense as a module since it is a critical device, and it turns out of_phandle_iterator_args was not exported so the module version doesn't build anyway. Signed-off-by: Hector Martin Reviewed-by: Sven Peter --- drivers/soc/apple/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/apple/Kconfig b/drivers/soc/apple/Kconfig index 3eb14abf8d33..9b8de31d6a8f 100644 --- a/drivers/soc/apple/Kconfig +++ b/drivers/soc/apple/Kconfig @@ -5,7 +5,7 @@ if ARCH_APPLE || COMPILE_TEST menu "Apple SoC drivers" config APPLE_PMGR_PWRSTATE - tristate "Apple SoC PMGR power state control" + bool "Apple SoC PMGR power state control" depends on PM select REGMAP select MFD_SYSCON