Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp965758rwb; Wed, 26 Jul 2023 05:50:47 -0700 (PDT) X-Google-Smtp-Source: APBJJlERShbQLa/0tL6Vvu/rXo0JOzTR8wjgt4YzXjkDwAu14rgdrfiIphPyOWzuCPqyi/OOcFYf X-Received: by 2002:a17:907:a062:b0:99b:8ed2:8ff with SMTP id ia2-20020a170907a06200b0099b8ed208ffmr1531539ejc.1.1690375846687; Wed, 26 Jul 2023 05:50:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690375846; cv=none; d=google.com; s=arc-20160816; b=ZEMgA4461WbQFo9mugkztRwSHuxiPWkWsqFgOOlujkIKym5u033aQ38ZYbb2jKbooU 1/KkjvGy32zUC8gjyHp+Q5ewBhfZKwu2UGjVLzmiUYraAiO/UhqUR3FKXcXcnKF9gSpo OfQequtLVFWydGUBO1eZndpkXVBD8Per6byA6vrjkH0y9Cio0gO0ivSdBEn+hM20/Ti/ DatyUZ+2RZBVZamqN6XJQilyfvovyphPUGo1TeNunP7zKuvRzc7ursaWGTAraBFiuDBd jRPy6XViAqXHOERtqlcQRR9rEU+e72BDfQ3rrqoFX2YgVyV5utjtwb1YKzqBzUqzCePp 0t/w== 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=oz83DBzKGdI2nKXUzWpxwmAceOtyBDbqK6io3v5A4Q0=; fh=zfavv4OimO46SoUyk3Q4IbmIWoWrUBPy+99/6XwpWrk=; b=e71wsZoLFCGnJqJv8C/QY3ZBZsdmzl/2nZGPR/wYf5zA3qUIEiGgBjzrhX+H7RlRt4 fv5X61c/jCEF4JYSWI9nvU38q4n4RAZ9lMTezGU5AXr61tyek3xfmYhbM13BF1lpw7LM wCwo5CHdPPMBPrkR0dnPxv5a7atmGSwYtK04lArK0i1Sq1r9d9aE2DqkRXiAvgB1j/bo zK/t/ZpGfJCcWoEqDS7xVdmFxNs9Dz38mECTXaT4gQEKCuk8pGueV3Jqb6A4khySskac 6idFf1Bxg3XgQYCCtUlOmPpVvBRhuUhgMQq0Uq/BwMIYgmY7b6UgMW02EaNg2RmLmrED VAXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pzJ2nQcM; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d13-20020a1709064c4d00b00997c3561696si9593964ejw.577.2023.07.26.05.50.21; Wed, 26 Jul 2023 05:50:46 -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=@kernel.org header.s=k20201202 header.b=pzJ2nQcM; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232284AbjGZMSI (ORCPT + 99 others); Wed, 26 Jul 2023 08:18:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233655AbjGZMR7 (ORCPT ); Wed, 26 Jul 2023 08:17:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D05D61BC6; Wed, 26 Jul 2023 05:17:52 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4E3F261ACF; Wed, 26 Jul 2023 12:17:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2D6ADC433C8; Wed, 26 Jul 2023 12:17:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690373871; bh=MJ3VIkhQnMh5rNijTgWqzXJXA8gGbxk68w2PW2c6Pkw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pzJ2nQcMu3Af2DEDqCGLRiELzCmojsPQvlIEvOS0YSr7vv5hCw/Z+BbxlK9Q4Qvrn s/QzQ8fudtXr0fNIv0rw6CZcO1jpN6WtHBhbZHfxnh+t+H904/yIEZ2ftOjG9aSarE zhc+1u/XbLYoeRVBDoEho9IBZCI53bSVNDUHTuNMAKI1+xRkhpskUNZ4Q3H+MTQTYI yXGEHlHI6/uNMJ7037RircF1nF1XV9mmCo2ax/j0QDMHuUlXEtGV7QKBFHIVqmIGLd fEPiN55RLGB/gJitKRgdm8VZC3bW1+FqFGv+VOL6HCzQ4mho7G1EhoIgvI/13msSiS SwOpcbHXwVhBA== From: Arnd Bergmann To: Ulf Hansson , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Manivannan Sadhasivam Cc: Arnd Bergmann , Stephen Rothwell , Conor Dooley , Joel Stanley , Paul Menzel , Hal Feng , Yinbo Zhu , =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= , Emil Renner Berthing , Walker Chen , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-actions@lists.infradead.org Subject: [PATCH 2/2] genpd: move owl-sps-helper.c from drivers/soc Date: Wed, 26 Jul 2023 14:17:15 +0200 Message-Id: <20230726121724.3701240-2-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230726121724.3701240-1-arnd@kernel.org> References: <20230726121724.3701240-1-arnd@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 From: Arnd Bergmann Moving only one of the two files in drivers/soc/actions to drivers/genpd caused a link failure in allmodconfig, as drivers/genpd is entered for compile testing, but drivers/soc/actions accidentally got skipped: x86_64-linux-gnu-ld: vmlinux.o: in function `owl_sps_set_power': owl-sps.c:(.text+0x16e259d): undefined reference to `owl_sps_set_pg' Move the other one as well to allow build testing to work correctly. Reported-by: Stephen Rothwell Signed-off-by: Arnd Bergmann --- drivers/genpd/actions/Makefile | 1 + drivers/{soc => genpd}/actions/owl-sps-helper.c | 0 drivers/soc/Makefile | 1 - drivers/soc/actions/Makefile | 3 --- 4 files changed, 1 insertion(+), 4 deletions(-) rename drivers/{soc => genpd}/actions/owl-sps-helper.c (100%) delete mode 100644 drivers/soc/actions/Makefile diff --git a/drivers/genpd/actions/Makefile b/drivers/genpd/actions/Makefile index e78c420a24540..7e8aa473d12d1 100644 --- a/drivers/genpd/actions/Makefile +++ b/drivers/genpd/actions/Makefile @@ -1,2 +1,3 @@ # SPDX-License-Identifier: GPL-2.0+ +obj-$(CONFIG_OWL_PM_DOMAINS_HELPER) += owl-sps-helper.o obj-$(CONFIG_OWL_PM_DOMAINS) += owl-sps.o diff --git a/drivers/soc/actions/owl-sps-helper.c b/drivers/genpd/actions/owl-sps-helper.c similarity index 100% rename from drivers/soc/actions/owl-sps-helper.c rename to drivers/genpd/actions/owl-sps-helper.c diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile index efdcd42f68cb3..708eaad8f590d 100644 --- a/drivers/soc/Makefile +++ b/drivers/soc/Makefile @@ -3,7 +3,6 @@ # Makefile for the Linux Kernel SOC specific device drivers. # -obj-$(CONFIG_ARCH_ACTIONS) += actions/ obj-y += apple/ obj-y += aspeed/ obj-$(CONFIG_ARCH_AT91) += atmel/ diff --git a/drivers/soc/actions/Makefile b/drivers/soc/actions/Makefile deleted file mode 100644 index 4ac88fec2050a..0000000000000 --- a/drivers/soc/actions/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0+ - -obj-$(CONFIG_OWL_PM_DOMAINS_HELPER) += owl-sps-helper.o -- 2.39.2