summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/evxfevnt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/acpica/evxfevnt.c')
-rw-r--r--drivers/acpi/acpica/evxfevnt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/acpica/evxfevnt.c b/drivers/acpi/acpica/evxfevnt.c
index 484c9793ca0..d0a080747ec 100644
--- a/drivers/acpi/acpica/evxfevnt.c
+++ b/drivers/acpi/acpica/evxfevnt.c
@@ -173,7 +173,7 @@ acpi_status acpi_enable_event(u32 event, u32 flags)
*/
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 @@ acpi_status acpi_disable_event(u32 event, u32 flags)
*/
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 @@ acpi_status acpi_clear_event(u32 event)
*/
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);
}