PM: Handle device registrations during suspend/resume
[safe/jmp/linux-2.6] / include / linux / pm.h
index 015b735..e6b9f29 100644 (file)
@@ -183,6 +183,7 @@ typedef struct pm_message {
 struct dev_pm_info {
        pm_message_t            power_state;
        unsigned                can_wakeup:1;
+       bool                    sleeping:1;     /* Owned by the PM core */
 #ifdef CONFIG_PM_SLEEP
        unsigned                should_wakeup:1;
        struct list_head        entry;