|
@@ -262,7 +262,7 @@ static inline bool system_entering_hibernation(void) { return false; }
|
|
extern int suspend_nvs_register(unsigned long start, unsigned long size);
|
|
extern int suspend_nvs_register(unsigned long start, unsigned long size);
|
|
extern int suspend_nvs_alloc(void);
|
|
extern int suspend_nvs_alloc(void);
|
|
extern void suspend_nvs_free(void);
|
|
extern void suspend_nvs_free(void);
|
|
-extern void suspend_nvs_save(void);
|
|
|
|
|
|
+extern int suspend_nvs_save(void);
|
|
extern void suspend_nvs_restore(void);
|
|
extern void suspend_nvs_restore(void);
|
|
#else /* CONFIG_SUSPEND_NVS */
|
|
#else /* CONFIG_SUSPEND_NVS */
|
|
static inline int suspend_nvs_register(unsigned long a, unsigned long b)
|
|
static inline int suspend_nvs_register(unsigned long a, unsigned long b)
|
|
@@ -271,7 +271,7 @@ static inline int suspend_nvs_register(unsigned long a, unsigned long b)
|
|
}
|
|
}
|
|
static inline int suspend_nvs_alloc(void) { return 0; }
|
|
static inline int suspend_nvs_alloc(void) { return 0; }
|
|
static inline void suspend_nvs_free(void) {}
|
|
static inline void suspend_nvs_free(void) {}
|
|
-static inline void suspend_nvs_save(void) {}
|
|
|
|
|
|
+static inline int suspend_nvs_save(void) {}
|
|
static inline void suspend_nvs_restore(void) {}
|
|
static inline void suspend_nvs_restore(void) {}
|
|
#endif /* CONFIG_SUSPEND_NVS */
|
|
#endif /* CONFIG_SUSPEND_NVS */
|
|
|
|
|