PM / runtime: Re-init runtime PM states at probe error and driver unbind
[deliverable/linux.git] / drivers / base / power / power.h
index 998fa6b230844391b023b5ba8d4f0a22f9c645b0..8b06193d4a5e9f1aa42cfae570a5499be86ee4a5 100644 (file)
@@ -18,6 +18,7 @@ static inline void pm_runtime_early_init(struct device *dev)
 }
 
 extern void pm_runtime_init(struct device *dev);
+extern void pm_runtime_reinit(struct device *dev);
 extern void pm_runtime_remove(struct device *dev);
 
 struct wake_irq {
@@ -84,6 +85,7 @@ static inline void pm_runtime_early_init(struct device *dev)
 }
 
 static inline void pm_runtime_init(struct device *dev) {}
+static inline void pm_runtime_reinit(struct device *dev) {}
 static inline void pm_runtime_remove(struct device *dev) {}
 
 static inline int dpm_sysfs_add(struct device *dev) { return 0; }
This page took 0.026373 seconds and 5 git commands to generate.