]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/linux/pm_domain.h
mm: clean up and clarify lruvec lookup procedure
[linux.git] / include / linux / pm_domain.h
index baf02ff91a31a0c75ef0c3aed7be5c7a605b0332..5a31c711b896654372513bd32532eab7d9b88a14 100644 (file)
@@ -366,6 +366,7 @@ struct device *dev_pm_domain_attach_by_id(struct device *dev,
 struct device *dev_pm_domain_attach_by_name(struct device *dev,
                                            const char *name);
 void dev_pm_domain_detach(struct device *dev, bool power_off);
+int dev_pm_domain_start(struct device *dev);
 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)
@@ -383,6 +384,10 @@ static inline struct device *dev_pm_domain_attach_by_name(struct device *dev,
        return NULL;
 }
 static inline void dev_pm_domain_detach(struct device *dev, bool power_off) {}
+static inline int dev_pm_domain_start(struct device *dev)
+{
+       return 0;
+}
 static inline void dev_pm_domain_set(struct device *dev,
                                     struct dev_pm_domain *pd) {}
 #endif