diff options
Diffstat (limited to 'include/linux/pm_opp.h')
-rw-r--r-- | include/linux/pm_opp.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/pm_opp.h b/include/linux/pm_opp.h index 5221d259e413..bca26157f5b6 100644 --- a/include/linux/pm_opp.h +++ b/include/linux/pm_opp.h | |||
@@ -67,6 +67,8 @@ void dev_pm_opp_put_regulator(struct device *dev); | |||
67 | int dev_pm_opp_set_rate(struct device *dev, unsigned long target_freq); | 67 | int dev_pm_opp_set_rate(struct device *dev, unsigned long target_freq); |
68 | int dev_pm_opp_set_sharing_cpus(struct device *cpu_dev, const struct cpumask *cpumask); | 68 | int dev_pm_opp_set_sharing_cpus(struct device *cpu_dev, const struct cpumask *cpumask); |
69 | int dev_pm_opp_get_sharing_cpus(struct device *cpu_dev, struct cpumask *cpumask); | 69 | int dev_pm_opp_get_sharing_cpus(struct device *cpu_dev, struct cpumask *cpumask); |
70 | void dev_pm_opp_remove_table(struct device *dev); | ||
71 | void dev_pm_opp_cpumask_remove_table(const struct cpumask *cpumask); | ||
70 | #else | 72 | #else |
71 | static inline unsigned long dev_pm_opp_get_voltage(struct dev_pm_opp *opp) | 73 | static inline unsigned long dev_pm_opp_get_voltage(struct dev_pm_opp *opp) |
72 | { | 74 | { |
@@ -190,6 +192,14 @@ static inline int dev_pm_opp_get_sharing_cpus(struct device *cpu_dev, struct cpu | |||
190 | return -EINVAL; | 192 | return -EINVAL; |
191 | } | 193 | } |
192 | 194 | ||
195 | static inline void dev_pm_opp_remove_table(struct device *dev) | ||
196 | { | ||
197 | } | ||
198 | |||
199 | static inline void dev_pm_opp_cpumask_remove_table(const struct cpumask *cpumask) | ||
200 | { | ||
201 | } | ||
202 | |||
193 | #endif /* CONFIG_PM_OPP */ | 203 | #endif /* CONFIG_PM_OPP */ |
194 | 204 | ||
195 | #if defined(CONFIG_PM_OPP) && defined(CONFIG_OF) | 205 | #if defined(CONFIG_PM_OPP) && defined(CONFIG_OF) |