summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-02-24 19:54:59 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-02-24 19:54:59 +0100
commitc5eb92f57de2446e0071c3af70ea54f237eb05d5 (patch)
tree831886a7a0ae600361876e8148582fd14e5b282f /include
parentLinux 5.17-rc5 (diff)
parentcpufreq: qcom-hw: Delay enabling throttle_irq (diff)
downloadlinux-c5eb92f57de2446e0071c3af70ea54f237eb05d5.tar.xz
linux-c5eb92f57de2446e0071c3af70ea54f237eb05d5.zip
Merge branch 'cpufreq/arm/fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm
Pull ARM cpufreq fixes for 5.18-rc6 from Viresh Kumar: "This fixes issues related to throttle IRQ for Qcom SoCs." * 'cpufreq/arm/fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm: cpufreq: qcom-hw: Delay enabling throttle_irq cpufreq: Reintroduce ready() callback
Diffstat (limited to 'include')
-rw-r--r--include/linux/cpufreq.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h
index 1ab29e61b078..3522a272b74d 100644
--- a/include/linux/cpufreq.h
+++ b/include/linux/cpufreq.h
@@ -382,6 +382,9 @@ struct cpufreq_driver {
int (*suspend)(struct cpufreq_policy *policy);
int (*resume)(struct cpufreq_policy *policy);
+ /* Will be called after the driver is fully initialized */
+ void (*ready)(struct cpufreq_policy *policy);
+
struct freq_attr **attr;
/* platform specific boost support code */