From 1efcfcfff91e6292e2971241e83c3df76c22fed7 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Mon, 19 Sep 2016 19:20:24 -0700 Subject: [PATCH] Revert "x86: acpi: Add function for querying GPE status" This reverts commit 884dfe632940b940df68d09f997fa5cd25121def. --- src/arch/x86/acpi.c | 5 ----- src/arch/x86/include/arch/acpi.h | 3 --- 2 files changed, 8 deletions(-) diff --git a/src/arch/x86/acpi.c b/src/arch/x86/acpi.c index edb6835dc8..bbeb92f3ba 100644 --- a/src/arch/x86/acpi.c +++ b/src/arch/x86/acpi.c @@ -1093,8 +1093,3 @@ void acpi_save_gnvs(u32 gnvs_address) if (gnvs) *gnvs = gnvs_address; } - -__attribute__ ((weak)) int acpi_get_gpe(int gpe) -{ - return -1; /* implemented by SOC */ -} diff --git a/src/arch/x86/include/arch/acpi.h b/src/arch/x86/include/arch/acpi.h index 7d2993162d..e81ddbf02f 100644 --- a/src/arch/x86/include/arch/acpi.h +++ b/src/arch/x86/include/arch/acpi.h @@ -677,9 +677,6 @@ static inline int acpi_sleep_from_pm1(uint32_t pm1_cnt) /* Returns ACPI_Sx values. */ int acpi_get_sleep_type(void); -/* Read and clear GPE status */ -int acpi_get_gpe(int gpe); - static inline int acpi_s3_resume_allowed(void) { return IS_ENABLED(CONFIG_HAVE_ACPI_RESUME);