diff options
Diffstat (limited to 'include/linux/pm.h')
-rw-r--r-- | include/linux/pm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/pm.h b/include/linux/pm.h index 716517af1543..b79a0dd3bc6d 100644 --- a/include/linux/pm.h +++ b/include/linux/pm.h | |||
@@ -43,8 +43,12 @@ struct device; | |||
43 | 43 | ||
44 | #ifdef CONFIG_PM | 44 | #ifdef CONFIG_PM |
45 | extern const char power_group_name[]; /* = "power" */ | 45 | extern const char power_group_name[]; /* = "power" */ |
46 | |||
47 | extern void dev_pm_syscore_device(struct device *dev, bool val); | ||
46 | #else | 48 | #else |
47 | #define power_group_name NULL | 49 | #define power_group_name NULL |
50 | |||
51 | static inline void dev_pm_syscore_device(struct device *dev, bool val) {} | ||
48 | #endif | 52 | #endif |
49 | 53 | ||
50 | typedef struct pm_message { | 54 | typedef struct pm_message { |
@@ -511,6 +515,7 @@ struct dev_pm_info { | |||
511 | bool is_suspended:1; /* Ditto */ | 515 | bool is_suspended:1; /* Ditto */ |
512 | bool ignore_children:1; | 516 | bool ignore_children:1; |
513 | bool early_init:1; /* Owned by the PM core */ | 517 | bool early_init:1; /* Owned by the PM core */ |
518 | bool syscore:1; | ||
514 | spinlock_t lock; | 519 | spinlock_t lock; |
515 | #ifdef CONFIG_PM_SLEEP | 520 | #ifdef CONFIG_PM_SLEEP |
516 | struct list_head entry; | 521 | struct list_head entry; |