summaryrefslogtreecommitdiff
path: root/source/components/hardware
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2015-06-18 17:27:40 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2015-06-18 17:27:40 +0000
commitf3bbb1ca6c1b2b877d015a8f5f0c67e48a7a57ae (patch)
tree621303c71b8318af14f03b2d426d3026537e2dfb /source/components/hardware
parent764ef0515d13e66403dc8a0578ff91b88675ade6 (diff)
Notes
Diffstat (limited to 'source/components/hardware')
-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 7837c6f56bab8..1642aa3e0d0d9 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)