diff options
Diffstat (limited to 'include/linux/pm_domain.h')
-rw-r--r-- | include/linux/pm_domain.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h index 6cd20d5e651b..a9edab2c787a 100644 --- a/include/linux/pm_domain.h +++ b/include/linux/pm_domain.h | |||
@@ -271,6 +271,8 @@ typedef struct generic_pm_domain *(*genpd_xlate_t)(struct of_phandle_args *args, | |||
271 | int __of_genpd_add_provider(struct device_node *np, genpd_xlate_t xlate, | 271 | int __of_genpd_add_provider(struct device_node *np, genpd_xlate_t xlate, |
272 | void *data); | 272 | void *data); |
273 | void of_genpd_del_provider(struct device_node *np); | 273 | void of_genpd_del_provider(struct device_node *np); |
274 | struct generic_pm_domain *of_genpd_get_from_provider( | ||
275 | struct of_phandle_args *genpdspec); | ||
274 | 276 | ||
275 | struct generic_pm_domain *__of_genpd_xlate_simple( | 277 | struct generic_pm_domain *__of_genpd_xlate_simple( |
276 | struct of_phandle_args *genpdspec, | 278 | struct of_phandle_args *genpdspec, |
@@ -288,6 +290,12 @@ static inline int __of_genpd_add_provider(struct device_node *np, | |||
288 | } | 290 | } |
289 | static inline void of_genpd_del_provider(struct device_node *np) {} | 291 | static inline void of_genpd_del_provider(struct device_node *np) {} |
290 | 292 | ||
293 | static inline struct generic_pm_domain *of_genpd_get_from_provider( | ||
294 | struct of_phandle_args *genpdspec) | ||
295 | { | ||
296 | return NULL; | ||
297 | } | ||
298 | |||
291 | #define __of_genpd_xlate_simple NULL | 299 | #define __of_genpd_xlate_simple NULL |
292 | #define __of_genpd_xlate_onecell NULL | 300 | #define __of_genpd_xlate_onecell NULL |
293 | 301 | ||