diff options
Diffstat (limited to 'include/linux/pm_opp.h')
-rw-r--r-- | include/linux/pm_opp.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/include/linux/pm_opp.h b/include/linux/pm_opp.h index e817722ee3f0..9a2e50337af9 100644 --- a/include/linux/pm_opp.h +++ b/include/linux/pm_opp.h | |||
@@ -132,37 +132,37 @@ static inline struct srcu_notifier_head *dev_pm_opp_get_notifier( | |||
132 | #endif /* CONFIG_PM_OPP */ | 132 | #endif /* CONFIG_PM_OPP */ |
133 | 133 | ||
134 | #if defined(CONFIG_PM_OPP) && defined(CONFIG_OF) | 134 | #if defined(CONFIG_PM_OPP) && defined(CONFIG_OF) |
135 | int of_init_opp_table(struct device *dev); | 135 | int dev_pm_opp_of_add_table(struct device *dev); |
136 | void of_free_opp_table(struct device *dev); | 136 | void dev_pm_opp_of_remove_table(struct device *dev); |
137 | int of_cpumask_init_opp_table(cpumask_var_t cpumask); | 137 | int dev_pm_opp_of_cpumask_add_table(cpumask_var_t cpumask); |
138 | void of_cpumask_free_opp_table(cpumask_var_t cpumask); | 138 | void dev_pm_opp_of_cpumask_remove_table(cpumask_var_t cpumask); |
139 | int of_get_cpus_sharing_opps(struct device *cpu_dev, cpumask_var_t cpumask); | 139 | int dev_pm_opp_of_get_sharing_cpus(struct device *cpu_dev, cpumask_var_t cpumask); |
140 | int set_cpus_sharing_opps(struct device *cpu_dev, cpumask_var_t cpumask); | 140 | int dev_pm_opp_set_sharing_cpus(struct device *cpu_dev, cpumask_var_t cpumask); |
141 | #else | 141 | #else |
142 | static inline int of_init_opp_table(struct device *dev) | 142 | static inline int dev_pm_opp_of_add_table(struct device *dev) |
143 | { | 143 | { |
144 | return -EINVAL; | 144 | return -EINVAL; |
145 | } | 145 | } |
146 | 146 | ||
147 | static inline void of_free_opp_table(struct device *dev) | 147 | static inline void dev_pm_opp_of_remove_table(struct device *dev) |
148 | { | 148 | { |
149 | } | 149 | } |
150 | 150 | ||
151 | static inline int of_cpumask_init_opp_table(cpumask_var_t cpumask) | 151 | static inline int dev_pm_opp_of_cpumask_add_table(cpumask_var_t cpumask) |
152 | { | 152 | { |
153 | return -ENOSYS; | 153 | return -ENOSYS; |
154 | } | 154 | } |
155 | 155 | ||
156 | static inline void of_cpumask_free_opp_table(cpumask_var_t cpumask) | 156 | static inline void dev_pm_opp_of_cpumask_remove_table(cpumask_var_t cpumask) |
157 | { | 157 | { |
158 | } | 158 | } |
159 | 159 | ||
160 | static inline int of_get_cpus_sharing_opps(struct device *cpu_dev, cpumask_var_t cpumask) | 160 | static inline int dev_pm_opp_of_get_sharing_cpus(struct device *cpu_dev, cpumask_var_t cpumask) |
161 | { | 161 | { |
162 | return -ENOSYS; | 162 | return -ENOSYS; |
163 | } | 163 | } |
164 | 164 | ||
165 | static inline int set_cpus_sharing_opps(struct device *cpu_dev, cpumask_var_t cpumask) | 165 | static inline int dev_pm_opp_set_sharing_cpus(struct device *cpu_dev, cpumask_var_t cpumask) |
166 | { | 166 | { |
167 | return -ENOSYS; | 167 | return -ENOSYS; |
168 | } | 168 | } |