diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/pm_opp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/pm_opp.h b/include/linux/pm_opp.h index cab7ba55bedb..e817722ee3f0 100644 --- a/include/linux/pm_opp.h +++ b/include/linux/pm_opp.h | |||
| @@ -34,6 +34,7 @@ bool dev_pm_opp_is_turbo(struct dev_pm_opp *opp); | |||
| 34 | 34 | ||
| 35 | int dev_pm_opp_get_opp_count(struct device *dev); | 35 | int dev_pm_opp_get_opp_count(struct device *dev); |
| 36 | unsigned long dev_pm_opp_get_max_clock_latency(struct device *dev); | 36 | unsigned long dev_pm_opp_get_max_clock_latency(struct device *dev); |
| 37 | struct dev_pm_opp *dev_pm_opp_get_suspend_opp(struct device *dev); | ||
| 37 | 38 | ||
| 38 | struct dev_pm_opp *dev_pm_opp_find_freq_exact(struct device *dev, | 39 | struct dev_pm_opp *dev_pm_opp_find_freq_exact(struct device *dev, |
| 39 | unsigned long freq, | 40 | unsigned long freq, |
| @@ -80,6 +81,11 @@ static inline unsigned long dev_pm_opp_get_max_clock_latency(struct device *dev) | |||
| 80 | return 0; | 81 | return 0; |
| 81 | } | 82 | } |
| 82 | 83 | ||
| 84 | static inline struct dev_pm_opp *dev_pm_opp_get_suspend_opp(struct device *dev) | ||
| 85 | { | ||
| 86 | return NULL; | ||
| 87 | } | ||
| 88 | |||
| 83 | static inline struct dev_pm_opp *dev_pm_opp_find_freq_exact(struct device *dev, | 89 | static inline struct dev_pm_opp *dev_pm_opp_find_freq_exact(struct device *dev, |
| 84 | unsigned long freq, bool available) | 90 | unsigned long freq, bool available) |
| 85 | { | 91 | { |
