aboutsummaryrefslogtreecommitdiff
path: root/source/components/hardware/hwxfsleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/components/hardware/hwxfsleep.c')
-rw-r--r--source/components/hardware/hwxfsleep.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/components/hardware/hwxfsleep.c b/source/components/hardware/hwxfsleep.c
index 7837c6f56bab..1642aa3e0d0d 100644
--- a/source/components/hardware/hwxfsleep.c
+++ b/source/components/hardware/hwxfsleep.c
@@ -51,11 +51,13 @@
/* Local prototypes */
+#if (!ACPI_REDUCED_HARDWARE)
static ACPI_STATUS
AcpiHwSetFirmwareWakingVector (
ACPI_TABLE_FACS *Facs,
ACPI_PHYSICAL_ADDRESS PhysicalAddress,
ACPI_PHYSICAL_ADDRESS PhysicalAddress64);
+#endif
static ACPI_STATUS
AcpiHwSleepDispatch (
@@ -171,7 +173,7 @@ AcpiSetFirmwareWakingVector (
if (AcpiGbl_ReducedHardware)
{
- return (AE_OK);
+ return_ACPI_STATUS (AE_OK);
}
if (AcpiGbl_Facs32)