summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/evxfevnt.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2009-03-06 09:49:25 +0800
committerLen Brown <len.brown@intel.com>2009-03-27 12:11:01 -0400
commit768aaaf196e8a40f5cfc792d9d365795cc52ed13 (patch)
treeb223711c833a4848711b3c322dea9a9809e22836 /drivers/acpi/acpica/evxfevnt.c
parent2affa28605fa5387192c72d9889a00c9c51aa712 (diff)
downloadblackbird-op-linux-768aaaf196e8a40f5cfc792d9d365795cc52ed13.tar.gz
blackbird-op-linux-768aaaf196e8a40f5cfc792d9d365795cc52ed13.zip
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>
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 484c9793ca06..d0a080747ec3 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);
}
OpenPOWER on IntegriCloud