From c0413336bc0550eafc58fedf0b87e2b8f4160eda Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Thu, 24 Oct 2024 19:12:17 +0200 Subject: [PATCH] acpi/acpi.h: Use boolean permanent_smi_handler and acpi_s3_resume_allowed returns boolean, so use boolean instead of int. Change-Id: I8f390bf3b472519dc41db7daa57b16458961139e Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/84858 Tested-by: build bot (Jenkins) Reviewed-by: Martin L Roth --- src/include/acpi/acpi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/acpi/acpi.h b/src/include/acpi/acpi.h index 4d9599dac7..06dba65738 100644 --- a/src/include/acpi/acpi.h +++ b/src/include/acpi/acpi.h @@ -1967,12 +1967,12 @@ int acpi_get_gpe(int gpe); /* Once we enter payload, is SMI handler installed and capable of responding to APM_CNT Advanced Power Management Control commands. */ -static inline int permanent_smi_handler(void) +static inline bool permanent_smi_handler(void) { return CONFIG(HAVE_SMI_HANDLER); } -static inline int acpi_s3_resume_allowed(void) +static inline bool acpi_s3_resume_allowed(void) { return CONFIG(HAVE_ACPI_RESUME); }