diff options
author | Arnd Bergmann | 2023-12-12 22:48:38 +0100 |
---|---|---|
committer | Rafael J. Wysocki | 2023-12-13 13:53:01 +0100 |
commit | ccb45b34d44016b91fa75646741d317d6d6fdeea (patch) | |
tree | af37855796be14ebf06947347d8ea5886c993d1a /drivers/acpi | |
parent | 310293a2b94197f3d75e65ab22672287a7938a00 (diff) |
ACPI: arm64: export acpi_arch_thermal_cpufreq_pctg()
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 <arnd@arndb.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/arm64/thermal_cpufreq.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <linux/acpi.h> +#include <linux/export.h> #include "../internal.h" @@ -18,3 +19,4 @@ int acpi_arch_thermal_cpufreq_pctg(void) return 0; } +EXPORT_SYMBOL_GPL(acpi_arch_thermal_cpufreq_pctg); |