aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pm_domain.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/pm_domain.h')
-rw-r--r--include/linux/pm_domain.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h
index 98491ee35102..14fb0953fa47 100644
--- a/include/linux/pm_domain.h
+++ b/include/linux/pm_domain.h
@@ -63,6 +63,7 @@ extern int pm_genpd_remove_subdomain(struct generic_pm_domain *genpd,
63 struct generic_pm_domain *target); 63 struct generic_pm_domain *target);
64extern void pm_genpd_init(struct generic_pm_domain *genpd, 64extern void pm_genpd_init(struct generic_pm_domain *genpd,
65 struct dev_power_governor *gov, bool is_off); 65 struct dev_power_governor *gov, bool is_off);
66extern int pm_genpd_poweron(struct generic_pm_domain *genpd);
66#else 67#else
67static inline int pm_genpd_add_device(struct generic_pm_domain *genpd, 68static inline int pm_genpd_add_device(struct generic_pm_domain *genpd,
68 struct device *dev) 69 struct device *dev)
@@ -86,6 +87,10 @@ static inline int pm_genpd_remove_subdomain(struct generic_pm_domain *genpd,
86} 87}
87static inline void pm_genpd_init(struct generic_pm_domain *genpd, 88static inline void pm_genpd_init(struct generic_pm_domain *genpd,
88 struct dev_power_governor *gov, bool is_off) {} 89 struct dev_power_governor *gov, bool is_off) {}
90static inline int pm_genpd_poweron(struct generic_pm_domain *genpd)
91{
92 return -ENOSYS;
93}
89#endif 94#endif
90 95
91#endif /* _LINUX_PM_DOMAIN_H */ 96#endif /* _LINUX_PM_DOMAIN_H */