summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/cpufreq-dt.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-05-18 22:07:45 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-05-18 22:07:45 +0200
commit966071137c0a829905b95252d1dab1e7fee8eb80 (patch)
tree14800aea301f12f8d7abd3509b86e6d33e804090 /drivers/cpufreq/cpufreq-dt.h
parentcpufreq: armada-37xx: driver relies on cpufreq-dt (diff)
parentRevert "cpufreq: rcar: Add support for R8A7795 SoC" (diff)
downloadlinux-966071137c0a829905b95252d1dab1e7fee8eb80.tar.xz
linux-966071137c0a829905b95252d1dab1e7fee8eb80.zip
Merge back cpufreq material for v4.18.
Diffstat (limited to 'drivers/cpufreq/cpufreq-dt.h')
-rw-r--r--drivers/cpufreq/cpufreq-dt.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/cpufreq/cpufreq-dt.h b/drivers/cpufreq/cpufreq-dt.h
index 54d774e46c43..d5aeea13433e 100644
--- a/drivers/cpufreq/cpufreq-dt.h
+++ b/drivers/cpufreq/cpufreq-dt.h
@@ -12,8 +12,13 @@
#include <linux/types.h>
+struct cpufreq_policy;
+
struct cpufreq_dt_platform_data {
bool have_governor_per_policy;
+
+ int (*suspend)(struct cpufreq_policy *policy);
+ int (*resume)(struct cpufreq_policy *policy);
};
#endif /* __CPUFREQ_DT_H__ */