diff options
Diffstat (limited to 'include/linux/pm_runtime.h')
-rw-r--r-- | include/linux/pm_runtime.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/include/linux/pm_runtime.h b/include/linux/pm_runtime.h index 1bd5063a2cc8..dfb8539ed686 100644 --- a/include/linux/pm_runtime.h +++ b/include/linux/pm_runtime.h | |||
@@ -252,36 +252,36 @@ struct pm_clk_notifier_block { | |||
252 | }; | 252 | }; |
253 | 253 | ||
254 | #ifdef CONFIG_PM_CLK | 254 | #ifdef CONFIG_PM_CLK |
255 | extern int pm_runtime_clk_init(struct device *dev); | 255 | extern int pm_clk_init(struct device *dev); |
256 | extern void pm_runtime_clk_destroy(struct device *dev); | 256 | extern void pm_clk_destroy(struct device *dev); |
257 | extern int pm_runtime_clk_add(struct device *dev, const char *con_id); | 257 | extern int pm_clk_add(struct device *dev, const char *con_id); |
258 | extern void pm_runtime_clk_remove(struct device *dev, const char *con_id); | 258 | extern void pm_clk_remove(struct device *dev, const char *con_id); |
259 | extern int pm_runtime_clk_suspend(struct device *dev); | 259 | extern int pm_clk_suspend(struct device *dev); |
260 | extern int pm_runtime_clk_resume(struct device *dev); | 260 | extern int pm_clk_resume(struct device *dev); |
261 | #else | 261 | #else |
262 | static inline int pm_runtime_clk_init(struct device *dev) | 262 | static inline int pm_clk_init(struct device *dev) |
263 | { | 263 | { |
264 | return -EINVAL; | 264 | return -EINVAL; |
265 | } | 265 | } |
266 | static inline void pm_runtime_clk_destroy(struct device *dev) | 266 | static inline void pm_clk_destroy(struct device *dev) |
267 | { | 267 | { |
268 | } | 268 | } |
269 | static inline int pm_runtime_clk_add(struct device *dev, const char *con_id) | 269 | static inline int pm_clk_add(struct device *dev, const char *con_id) |
270 | { | 270 | { |
271 | return -EINVAL; | 271 | return -EINVAL; |
272 | } | 272 | } |
273 | static inline void pm_runtime_clk_remove(struct device *dev, const char *con_id) | 273 | static inline void pm_clk_remove(struct device *dev, const char *con_id) |
274 | { | 274 | { |
275 | } | 275 | } |
276 | #define pm_runtime_clock_suspend NULL | 276 | #define pm_clk_suspend NULL |
277 | #define pm_runtime_clock_resume NULL | 277 | #define pm_clk_resume NULL |
278 | #endif | 278 | #endif |
279 | 279 | ||
280 | #ifdef CONFIG_HAVE_CLK | 280 | #ifdef CONFIG_HAVE_CLK |
281 | extern void pm_runtime_clk_add_notifier(struct bus_type *bus, | 281 | extern void pm_clk_add_notifier(struct bus_type *bus, |
282 | struct pm_clk_notifier_block *clknb); | 282 | struct pm_clk_notifier_block *clknb); |
283 | #else | 283 | #else |
284 | static inline void pm_runtime_clk_add_notifier(struct bus_type *bus, | 284 | static inline void pm_clk_add_notifier(struct bus_type *bus, |
285 | struct pm_clk_notifier_block *clknb) | 285 | struct pm_clk_notifier_block *clknb) |
286 | { | 286 | { |
287 | } | 287 | } |