PM / sleep: Go direct_complete if driver has no callbacks
[cascardo/linux.git] / include / linux / pm.h
index 528be67..6a5d654 100644 (file)
@@ -573,6 +573,7 @@ struct dev_pm_info {
        struct wakeup_source    *wakeup;
        bool                    wakeup_path:1;
        bool                    syscore:1;
+       bool                    no_pm_callbacks:1;      /* Owned by the PM core */
 #else
        unsigned int            should_wakeup:1;
 #endif