ACPICA: Add manifest constants for bit register values
Add and deploy constants for the PM status/enable/control
registers.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
diff --git a/drivers/acpi/acpica/evxfevnt.c b/drivers/acpi/acpica/evxfevnt.c
index 484c979..d0a0807 100644
--- a/drivers/acpi/acpica/evxfevnt.c
+++ b/drivers/acpi/acpica/evxfevnt.c
@@ -173,7 +173,7 @@
*/
status =
acpi_write_bit_register(acpi_gbl_fixed_event_info[event].
- enable_register_id, 1);
+ enable_register_id, ACPI_ENABLE_EVENT);
if (ACPI_FAILURE(status)) {
return_ACPI_STATUS(status);
}
@@ -355,7 +355,7 @@
*/
status =
acpi_write_bit_register(acpi_gbl_fixed_event_info[event].
- enable_register_id, 0);
+ enable_register_id, ACPI_DISABLE_EVENT);
if (ACPI_FAILURE(status)) {
return_ACPI_STATUS(status);
}
@@ -408,7 +408,7 @@
*/
status =
acpi_write_bit_register(acpi_gbl_fixed_event_info[event].
- status_register_id, 1);
+ status_register_id, ACPI_CLEAR_STATUS);
return_ACPI_STATUS(status);
}