[PATCH 10/32] ACPICA: Remove a prototype for the reduced hardware case.

Lv Zheng
2015-06-19T03:39:45Z

From: Bob Moore <robert.moore@intel.com>

ACPICA commit 70f62a80d65515e1285fdeeb50d94ee6f07df4bd

Causes an error on some hosts.

Link: https://github.com/acpica/acpica/commit/70f62a80
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
---
drivers/acpi/acpica/hwxfsleep.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/acpi/acpica/hwxfsleep.c b/drivers/acpi/acpica/hwxfsleep.c
index 5601fed..c25fedb 100644
--- a/drivers/acpi/acpica/hwxfsleep.c
+++ b/drivers/acpi/acpica/hwxfsleep.c
@@ -50,10 +50,12 @@
ACPI_MODULE_NAME("hwxfsleep")

/* Local prototypes */
+#if (!ACPI_REDUCED_HARDWARE)
static acpi_status
acpi_hw_set_firmware_waking_vector(struct acpi_table_facs *facs,
acpi_physical_address physical_address,
acpi_physical_address physical_address64);
+#endif

static acpi_status acpi_hw_sleep_dispatch(u8 sleep_state, u32 function_id);

--
1.7.10