diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2019-01-16 21:41:55 -0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2019-01-16 21:41:55 -0800 |
| commit | b8b0a039da05a4baeccfd5ef2abca2ed942e49ae (patch) | |
| tree | de37cd05ceedc3010faa52b8012eb4c8518fdcfd /include/linux | |
| parent | 1562e8091a5a0dc11cfba7cc6b3329439b6fb061 (diff) | |
| parent | 5a2f143582cbe77948ccf024c2726571411ce672 (diff) | |
Merge "msm: drm: add hibernation support"
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/suspend.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/suspend.h b/include/linux/suspend.h index be1ab158ad1a..04218da27e3a 100644 --- a/include/linux/suspend.h +++ b/include/linux/suspend.h @@ -380,6 +380,7 @@ extern unsigned long get_safe_page(gfp_t gfp_mask); extern asmlinkage int swsusp_arch_suspend(void); extern asmlinkage int swsusp_arch_resume(void); +static inline bool get_hibernation_status(void) { return true; }; extern void hibernation_set_ops(const struct platform_hibernation_ops *ops); extern int hibernate(void); extern bool system_entering_hibernation(void); @@ -393,6 +394,7 @@ static inline int swsusp_page_is_forbidden(struct page *p) { return 0; } static inline void swsusp_set_page_free(struct page *p) {} static inline void swsusp_unset_page_free(struct page *p) {} +static inline bool get_hibernation_status(void) { return true; }; static inline void hibernation_set_ops(const struct platform_hibernation_ops *ops) {} static inline int hibernate(void) { return -ENOSYS; } static inline bool system_entering_hibernation(void) { return false; } |
