]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - drivers/acpi/acpica/evxfevnt.c
ACPICA: Add manifest constants for bit register values
[mirror_ubuntu-hirsute-kernel.git] / drivers / acpi / acpica / evxfevnt.c
index 484c9793ca065f2d39b48a6d99e95f7992b1700f..d0a080747ec35cf6c2754ca3c534cb618401800c 100644 (file)
@@ -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);
 }