Skip to content

Commit ccb45b3

Browse files
arndbrafaeljw
authored andcommitted
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: 310293a ("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>
1 parent 310293a commit ccb45b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/acpi/arm64/thermal_cpufreq.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0-only
22
#include <linux/acpi.h>
3+
#include <linux/export.h>
34

45
#include "../internal.h"
56

@@ -18,3 +19,4 @@ int acpi_arch_thermal_cpufreq_pctg(void)
1819

1920
return 0;
2021
}
22+
EXPORT_SYMBOL_GPL(acpi_arch_thermal_cpufreq_pctg);

0 commit comments

Comments
 (0)