diff options
Diffstat (limited to 'include/linux/pm_opp.h')
-rw-r--r-- | include/linux/pm_opp.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/pm_opp.h b/include/linux/pm_opp.h index a6685b3dde26..51ec727b4824 100644 --- a/include/linux/pm_opp.h +++ b/include/linux/pm_opp.h | |||
@@ -121,6 +121,8 @@ struct opp_table *dev_pm_opp_set_prop_name(struct device *dev, const char *name) | |||
121 | void dev_pm_opp_put_prop_name(struct opp_table *opp_table); | 121 | void dev_pm_opp_put_prop_name(struct opp_table *opp_table); |
122 | struct opp_table *dev_pm_opp_set_regulators(struct device *dev, const char * const names[], unsigned int count); | 122 | struct opp_table *dev_pm_opp_set_regulators(struct device *dev, const char * const names[], unsigned int count); |
123 | void dev_pm_opp_put_regulators(struct opp_table *opp_table); | 123 | void dev_pm_opp_put_regulators(struct opp_table *opp_table); |
124 | struct opp_table *dev_pm_opp_set_clkname(struct device *dev, const char * name); | ||
125 | void dev_pm_opp_put_clkname(struct opp_table *opp_table); | ||
124 | struct opp_table *dev_pm_opp_register_set_opp_helper(struct device *dev, int (*set_opp)(struct dev_pm_set_opp_data *data)); | 126 | struct opp_table *dev_pm_opp_register_set_opp_helper(struct device *dev, int (*set_opp)(struct dev_pm_set_opp_data *data)); |
125 | void dev_pm_opp_register_put_opp_helper(struct opp_table *opp_table); | 127 | void dev_pm_opp_register_put_opp_helper(struct opp_table *opp_table); |
126 | int dev_pm_opp_set_rate(struct device *dev, unsigned long target_freq); | 128 | int dev_pm_opp_set_rate(struct device *dev, unsigned long target_freq); |
@@ -257,6 +259,13 @@ static inline struct opp_table *dev_pm_opp_set_regulators(struct device *dev, co | |||
257 | 259 | ||
258 | static inline void dev_pm_opp_put_regulators(struct opp_table *opp_table) {} | 260 | static inline void dev_pm_opp_put_regulators(struct opp_table *opp_table) {} |
259 | 261 | ||
262 | static inline struct opp_table *dev_pm_opp_set_clkname(struct device *dev, const char * name) | ||
263 | { | ||
264 | return ERR_PTR(-ENOTSUPP); | ||
265 | } | ||
266 | |||
267 | static inline void dev_pm_opp_put_clkname(struct opp_table *opp_table) {} | ||
268 | |||
260 | static inline int dev_pm_opp_set_rate(struct device *dev, unsigned long target_freq) | 269 | static inline int dev_pm_opp_set_rate(struct device *dev, unsigned long target_freq) |
261 | { | 270 | { |
262 | return -ENOTSUPP; | 271 | return -ENOTSUPP; |