Skip to content

Commit

Permalink
The v7 config has clock frequency scaling so requires an extra fix on…
Browse files Browse the repository at this point in the history
… 6.12
  • Loading branch information
johnny-mnemonic committed Jan 20, 2025
1 parent 201121a commit 7ae994f
Showing 1 changed file with 42 additions and 0 deletions.
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

0 comments on commit 7ae994f

Please sign in to comment.