diff options
Diffstat (limited to 'kernel/power/power.h')
-rw-r--r-- | kernel/power/power.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kernel/power/power.h b/kernel/power/power.h index eab3603b7caf..01c2275b15b2 100644 --- a/kernel/power/power.h +++ b/kernel/power/power.h | |||
@@ -173,5 +173,15 @@ extern void swsusp_close(void); | |||
173 | extern int suspend_enter(suspend_state_t state); | 173 | extern int suspend_enter(suspend_state_t state); |
174 | 174 | ||
175 | struct timeval; | 175 | struct timeval; |
176 | /* kernel/power/swsusp.c */ | ||
176 | extern void swsusp_show_speed(struct timeval *, struct timeval *, | 177 | extern void swsusp_show_speed(struct timeval *, struct timeval *, |
177 | unsigned int, char *); | 178 | unsigned int, char *); |
179 | |||
180 | /* kernel/power/main.c */ | ||
181 | extern struct blocking_notifier_head pm_chain_head; | ||
182 | |||
183 | static inline int pm_notifier_call_chain(unsigned long val) | ||
184 | { | ||
185 | return (blocking_notifier_call_chain(&pm_chain_head, val, NULL) | ||
186 | == NOTIFY_BAD) ? -EINVAL : 0; | ||
187 | } | ||