-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The v7 config has clock frequency scaling so requires an extra fix on…
… 6.12
- Loading branch information
1 parent
201121a
commit 7ae994f
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
42 changes: 42 additions & 0 deletions
42
patches/linux-6.12.y/9999-ia64-Make-acpi_cpufreq_cpu_exit-return-void.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
From ae36f11e5879b87337e470417f8be46f3fc8ef65 Mon Sep 17 00:00:00 2001 | ||
From: Rene Rebe <[email protected]> | ||
Date: Sun, 1 Dec 2024 19:27:07 +0100 | ||
Subject: [PATCH 45/53] ia64: Make acpi_cpufreq_cpu_exit return void | ||
|
||
Commit b4b1ddc9dfe9 ("cpufreq: Make cpufreq_driver->exit() return | ||
void") changed the type of the cpufreq_driver->exit() interface to | ||
void. | ||
|
||
Replay this change for the ia64 cpufreq implementation. | ||
|
||
Signed-off-by: Rene Rebe <[email protected]> | ||
Signed-off-by: Tomas Glozar <[email protected]> | ||
--- | ||
drivers/cpufreq/ia64-acpi-cpufreq.c | 4 +--- | ||
1 file changed, 1 insertion(+), 3 deletions(-) | ||
|
||
diff --git a/drivers/cpufreq/ia64-acpi-cpufreq.c b/drivers/cpufreq/ia64-acpi-cpufreq.c | ||
index c6bdc455517f..f692729068f5 100644 | ||
--- a/drivers/cpufreq/ia64-acpi-cpufreq.c | ||
+++ b/drivers/cpufreq/ia64-acpi-cpufreq.c | ||
@@ -302,7 +302,7 @@ acpi_cpufreq_cpu_init ( | ||
} | ||
|
||
|
||
-static int | ||
+static void | ||
acpi_cpufreq_cpu_exit ( | ||
struct cpufreq_policy *policy) | ||
{ | ||
@@ -316,8 +316,6 @@ acpi_cpufreq_cpu_exit ( | ||
kfree(policy->freq_table); | ||
kfree(data); | ||
} | ||
- | ||
- return (0); | ||
} | ||
|
||
|
||
-- | ||
2.25.1 | ||
|