aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pm_runtime.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/pm_runtime.h')
-rw-r--r--include/linux/pm_runtime.h28
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
255extern int pm_runtime_clk_init(struct device *dev); 255extern int pm_clk_init(struct device *dev);
256extern void pm_runtime_clk_destroy(struct device *dev); 256extern void pm_clk_destroy(struct device *dev);
257extern int pm_runtime_clk_add(struct device *dev, const char *con_id); 257extern int pm_clk_add(struct device *dev, const char *con_id);
258extern void pm_runtime_clk_remove(struct device *dev, const char *con_id); 258extern void pm_clk_remove(struct device *dev, const char *con_id);
259extern int pm_runtime_clk_suspend(struct device *dev); 259extern int pm_clk_suspend(struct device *dev);
260extern int pm_runtime_clk_resume(struct device *dev); 260extern int pm_clk_resume(struct device *dev);
261#else 261#else
262static inline int pm_runtime_clk_init(struct device *dev) 262static inline int pm_clk_init(struct device *dev)
263{ 263{
264 return -EINVAL; 264 return -EINVAL;
265} 265}
266static inline void pm_runtime_clk_destroy(struct device *dev) 266static inline void pm_clk_destroy(struct device *dev)
267{ 267{
268} 268}
269static inline int pm_runtime_clk_add(struct device *dev, const char *con_id) 269static inline int pm_clk_add(struct device *dev, const char *con_id)
270{ 270{
271 return -EINVAL; 271 return -EINVAL;
272} 272}
273static inline void pm_runtime_clk_remove(struct device *dev, const char *con_id) 273static 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
281extern void pm_runtime_clk_add_notifier(struct bus_type *bus, 281extern 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
284static inline void pm_runtime_clk_add_notifier(struct bus_type *bus, 284static 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}