From 92b346b34b5c4ad19b507dfd7de63434ddc32c49 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Tue, 11 Feb 2020 13:56:38 -0800 Subject: [PATCH] ANDROID: fix up dummy-cpufreq.c due to api changes The cpufreq interface changed to fix stack sizes in 5.4.19, but the dummy-cpufreq driver was not updated as it is out-of-tree. Fix up the driver to properly build. Signed-off-by: Greg Kroah-Hartman Change-Id: I0eb3c2f211fb4678e03d5579e0c345ec60000f14 --- drivers/cpufreq/dummy-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/dummy-cpufreq.c b/drivers/cpufreq/dummy-cpufreq.c index ea40d5c7a9fa..f1e5ac7ab301 100644 --- a/drivers/cpufreq/dummy-cpufreq.c +++ b/drivers/cpufreq/dummy-cpufreq.c @@ -28,7 +28,7 @@ static unsigned int dummy_cpufreq_get(unsigned int cpu) return 1; } -static int dummy_cpufreq_verify(struct cpufreq_policy *policy) +static int dummy_cpufreq_verify(struct cpufreq_policy_data *policy) { return 0; }