diff options
Diffstat (limited to 'include/linux/pm_domain.h')
-rw-r--r-- | include/linux/pm_domain.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h index a2fa297e96f7..4e5764083fd8 100644 --- a/include/linux/pm_domain.h +++ b/include/linux/pm_domain.h @@ -293,7 +293,7 @@ of_genpd_opp_to_performance_state(struct device *dev, static inline int genpd_dev_pm_attach(struct device *dev) { - return -ENODEV; + return 0; } static inline @@ -310,7 +310,7 @@ extern void dev_pm_domain_set(struct device *dev, struct dev_pm_domain *pd); #else static inline int dev_pm_domain_attach(struct device *dev, bool power_on) { - return -ENODEV; + return 0; } static inline void dev_pm_domain_detach(struct device *dev, bool power_off) {} static inline void dev_pm_domain_set(struct device *dev, |