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 <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84858 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@gmail.com>
This commit is contained in:
parent
9be383b855
commit
c0413336bc
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue