Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4936938rdb; Tue, 12 Dec 2023 13:48:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IHcb05lY+daslGbIhirIRAGAE6GDCcMpvL3DTmr6vSDw8F4KfAbmQ9YEwdBW65YNjECJzz+ X-Received: by 2002:a05:6a21:1f03:b0:190:36c3:afd4 with SMTP id ry3-20020a056a211f0300b0019036c3afd4mr3474930pzb.112.1702417736605; Tue, 12 Dec 2023 13:48:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702417736; cv=none; d=google.com; s=arc-20160816; b=P97IcPTw0gOTGoPgIuBAuwVjSp9Gm4XIcnuICMbRbt8zKOEXTRhFbTg1X1FCNjvTH8 V3k+RUGHVzvBMhpIyLovMfaN+2TOiUOSaSled3fwCDXrTyP9EwxGKiViTIkNAgNh6UAJ OlRplKh/eo6RPGB9KgFh0gZf+qDamsuVYnSBRe+vDLBI4rFhdnUxHKNV0BXxUrRT4xc8 xCsCnOQnuHzBTyGsVSkzB6vyNP8qLmWUpZwPuz0AARDsaCB0KSLdt4suyO1zntH1cuNH y+sftyAJ7I2VKYH/zHs5rdt1cNoppbTnSqN7YYNTTBdRm32M3s8ZZTIUOSgYDp0MC/Ky HCLg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=gVzhB9iQM1WKWU51Z5UYQPGq5QKNaYywHFBLXtJDW5w=; fh=fkoDTCSeHeSTOL5d+tyl4nOicudGfAlkHGUio7ndYb8=; b=f4/CDgtULXeuj7AwkVqx0CYv5lmrXblhAJKB/F0HDfxkXRkblcRsXa9EgGibftuc8+ amuJLOkwX6AI4Me7HPkaGDZ/k/VauAKfba7WumvvC5iV/u61AwcX7f0rRF4cNVMkZ1X2 r3axielvxg3IzJbH4YetyTAXuK8oHz1wTYTvfohrDKlfY+eKupdwcGqL2HJBEh8UjcLo DCi36+ptPlZ4Hk3vH2skMvQ/Xp4B0gsAWUgbhLaV4UPPVQCXk3bmW8XVOjhYtOWFhJO5 78BKoI56i0CplV3I2g9x9pzZAxAmvhZtl62Q5pxmQPUDUQtb+abf5OG9szc+gZYcrvwe 6gwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tIfrdAcF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id a6-20020a170902ecc600b001d0c0bd0cf0si8656047plh.459.2023.12.12.13.48.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 13:48:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tIfrdAcF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 6F4B9807756B; Tue, 12 Dec 2023 13:48:55 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377427AbjLLVsp (ORCPT + 99 others); Tue, 12 Dec 2023 16:48:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235165AbjLLVso (ORCPT ); Tue, 12 Dec 2023 16:48:44 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29CA4B0 for ; Tue, 12 Dec 2023 13:48:50 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 616BEC433C7; Tue, 12 Dec 2023 21:48:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702417729; bh=BPAdG+oACXLZR8/adiQ5gMuFjpTAdv8WeoWfNUPMLGs=; h=From:To:Cc:Subject:Date:From; b=tIfrdAcFA7VhDmw1ujVQSY0BkueuygHvl6NJMj3NNfyft50rA+tKCoi9lO4beB4+r l45CQ2WVFiW0Nyx+Pidlls+qP3E3NRTTwdsfjKnm+QnI2hzHO4nKKRJM3ebUeah2r8 inwoqJCWg+oY7INHYk5ex19Wi+bgg3TnwwlvJFm24A7c7P2XW43zGrumH0MOdi9eUB bzwHZILIVbNE+urUkkqB+uEZhcdpsn5aHVg2x/be/gGTfJTarycnyISGxPd04xD5Vz htSoG00k3vpD+zPZBrUVe4F54Fh1KhrZOAxvr0bRkzhroIdqnYO2s2JyjafwR1IjHP txJf8HjxmhYtA== From: Arnd Bergmann To: Lorenzo Pieralisi , Hanjun Guo , Sudeep Holla , "Rafael J. Wysocki" , Sumit Gupta , Srikar Srimath Tirumala Cc: Arnd Bergmann , Len Brown , linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ACPI: arm64: export acpi_arch_thermal_cpufreq_pctg Date: Tue, 12 Dec 2023 22:48:38 +0100 Message-Id: <20231212214843.256622-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 12 Dec 2023 13:48:55 -0800 (PST) From: Arnd Bergmann The cpufreq code can be in a loadable module, so the architecture support for it has to be exported: ERROR: modpost: "acpi_arch_thermal_cpufreq_pctg" [drivers/acpi/processor.ko] undefined! Fixes: 310293a2b941 ("ACPI: processor: reduce CPUFREQ thermal reduction pctg for Tegra241") Signed-off-by: Arnd Bergmann --- drivers/acpi/arm64/thermal_cpufreq.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/acpi/arm64/thermal_cpufreq.c b/drivers/acpi/arm64/thermal_cpufreq.c index d524f2cd6044..582854914c5c 100644 --- a/drivers/acpi/arm64/thermal_cpufreq.c +++ b/drivers/acpi/arm64/thermal_cpufreq.c @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only #include +#include #include "../internal.h" @@ -18,3 +19,4 @@ int acpi_arch_thermal_cpufreq_pctg(void) return 0; } +EXPORT_SYMBOL_GPL(acpi_arch_thermal_cpufreq_pctg); -- 2.39.2