diff options
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r-- | include/linux/acpi.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 67c91b4418b0..eb176bb1b15b 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
@@ -352,4 +352,14 @@ static inline int acpi_table_parse(char *id, | |||
352 | return -1; | 352 | return -1; |
353 | } | 353 | } |
354 | #endif /* !CONFIG_ACPI */ | 354 | #endif /* !CONFIG_ACPI */ |
355 | |||
356 | #ifdef CONFIG_ACPI_SLEEP | ||
357 | int suspend_nvs_register(unsigned long start, unsigned long size); | ||
358 | #else | ||
359 | static inline int suspend_nvs_register(unsigned long a, unsigned long b) | ||
360 | { | ||
361 | return 0; | ||
362 | } | ||
363 | #endif | ||
364 | |||
355 | #endif /*_LINUX_ACPI_H*/ | 365 | #endif /*_LINUX_ACPI_H*/ |