kernel/include/acpi/apei.h
.. .. @@ -27,14 +27,16 @@ 27 27 extern int erst_disable; 28 28 #ifdef CONFIG_ACPI_APEI_GHES 29 29 extern bool ghes_disable; 30 +void __init ghes_init(void);30 31 #else 31 32 #define ghes_disable 1 33 +static inline void ghes_init(void) { }32 34 #endif 33 35 34 36 #ifdef CONFIG_ACPI_APEI 35 37 void __init acpi_hest_init(void); 36 38 #else 37 -static inline void acpi_hest_init(void) { return; }39 +static inline void acpi_hest_init(void) { }38 40 #endif 39 41 40 42 typedef int (*apei_hest_func_t)(struct acpi_hest_header *hest_hdr, void *data);