diff options
author | Len Brown <len.brown@intel.com> | 2011-01-12 04:56:08 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2011-01-12 04:56:08 -0500 |
commit | d16675e1f1de98cc73ae77c6df26154ffae6230a (patch) | |
tree | be7ffdaabdaa06f8c917c7a6c9919d4b5fd13a52 /drivers/acpi/internal.h | |
parent | fb4af417cce9ff87abf33a6bb9a0cf613e285364 (diff) | |
parent | 6d5bbf00d251cc73223a71422d69e069dc2e0b8d (diff) |
Merge branch 'suspend-ioremap-cache' into release
Diffstat (limited to 'drivers/acpi/internal.h')
-rw-r--r-- | drivers/acpi/internal.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/acpi/internal.h b/drivers/acpi/internal.h index 8df5d7061a45..bc428a9607df 100644 --- a/drivers/acpi/internal.h +++ b/drivers/acpi/internal.h | |||
@@ -83,8 +83,16 @@ extern int acpi_sleep_init(void); | |||
83 | 83 | ||
84 | #ifdef CONFIG_ACPI_SLEEP | 84 | #ifdef CONFIG_ACPI_SLEEP |
85 | int acpi_sleep_proc_init(void); | 85 | int acpi_sleep_proc_init(void); |
86 | int suspend_nvs_alloc(void); | ||
87 | void suspend_nvs_free(void); | ||
88 | int suspend_nvs_save(void); | ||
89 | void suspend_nvs_restore(void); | ||
86 | #else | 90 | #else |
87 | static inline int acpi_sleep_proc_init(void) { return 0; } | 91 | static inline int acpi_sleep_proc_init(void) { return 0; } |
92 | static inline int suspend_nvs_alloc(void) { return 0; } | ||
93 | static inline void suspend_nvs_free(void) {} | ||
94 | static inline int suspend_nvs_save(void) {} | ||
95 | static inline void suspend_nvs_restore(void) {} | ||
88 | #endif | 96 | #endif |
89 | 97 | ||
90 | #endif /* _ACPI_INTERNAL_H_ */ | 98 | #endif /* _ACPI_INTERNAL_H_ */ |