PM: Add a switch for disabling/enabling asynchronous suspend/resume
[sfrench/cifs-2.6.git] / drivers / base / power / power.h
index b8fa1aa5225a4a7baff8f1b8f83d46d644f82012..c0bd03c83b9cad1dbbb9341aa70f13e85b520760 100644 (file)
@@ -12,10 +12,10 @@ static inline void pm_runtime_remove(struct device *dev) {}
 
 #ifdef CONFIG_PM_SLEEP
 
-/*
- * main.c
- */
+/* kernel/power/main.c */
+extern int pm_async_enabled;
 
+/* drivers/base/power/main.c */
 extern struct list_head dpm_list;      /* The active device list */
 
 static inline struct device *to_device(struct list_head *entry)