hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/cpufreq/cpufreq-dt.h
....@@ -1,10 +1,7 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2016 Linaro
34 * Viresh Kumar <viresh.kumar@linaro.org>
4
- *
5
- * This program is free software; you can redistribute it and/or modify
6
- * it under the terms of the GNU General Public License version 2 as
7
- * published by the Free Software Foundation.
85 */
96
107 #ifndef __CPUFREQ_DT_H__
....@@ -17,6 +14,10 @@
1714 struct cpufreq_dt_platform_data {
1815 bool have_governor_per_policy;
1916
17
+ unsigned int (*get_intermediate)(struct cpufreq_policy *policy,
18
+ unsigned int index);
19
+ int (*target_intermediate)(struct cpufreq_policy *policy,
20
+ unsigned int index);
2021 int (*suspend)(struct cpufreq_policy *policy);
2122 int (*resume)(struct cpufreq_policy *policy);
2223 };