diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-05-18 22:07:45 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-05-18 22:07:45 +0200 |
commit | 966071137c0a829905b95252d1dab1e7fee8eb80 (patch) | |
tree | 14800aea301f12f8d7abd3509b86e6d33e804090 /drivers/cpufreq/cpufreq-dt.h | |
parent | cpufreq: armada-37xx: driver relies on cpufreq-dt (diff) | |
parent | Revert "cpufreq: rcar: Add support for R8A7795 SoC" (diff) | |
download | linux-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.h | 5 |
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__ */ |